摘要: 对于语义分割网络,其输出为(b, h, w, classes),对索引求最大值,得到维度为(b, h, w, 1) 相对于得到一个灰度图,其亮度值为类别index。因为类别值为[1, num_classes], 如果对输出 结果直接显示,会的到一副纯黑的图。 所以需要进行预测结果可视化 将预测结果转 阅读全文
posted @ 2020-12-27 17:03 learningcaiji 阅读(3351) 评论(0) 推荐(0) 编辑
摘要: name id trainId category catId hasInstances ignoreInEval color unlabeled' , 0 , 255 , 'void' , 0 , False , True , ( 0, 0, 0) ),ego vehicle' , 1 , 255 阅读全文
posted @ 2020-12-27 14:50 learningcaiji 阅读(2951) 评论(1) 推荐(0) 编辑