monodepth2 预训练 批量测试
双目测距系列(三)monodepth2模型的测试 https://blog.csdn.net/avideointerfaces/article/details/105647031
官方保存的是伪彩色图,保存为灰度图:
colormapped_im = (mapper.to_rgba(disp_resized_np)[:, :, 3] * 255).astype(np.uint8)
改
colormapped_im = (mapper.to_rgba(disp_resized_np)[:, :, 0] * 255).astype(np.uint8)
批量处理
python3 slz_test_batch.py --image_path /kitti_07/image_0 --model_name stereo_1024x320
效果
PSMnet 预训练批量
论文阅读笔记《Pyramid Stereo Matching Network》https://blog.csdn.net/qq_36104364/article/details/79940969