未验证 提交 c8744c37 编辑于 作者: Gangwei Xu's avatar Gangwei Xu 提交者: GitHub
浏览文件

Update demo_video.py

上级 b7642e52
显示 2 个添加1 个删除
+2 -1
......@@ -33,6 +33,7 @@ parser.add_argument('--corr_radius', type=int, default=4, help="width of the cor
parser.add_argument('--n_downsample', type=int, default=2, help="resolution of the disparity field (1/2^K)")
parser.add_argument('--slow_fast_gru', action='store_true', help="iterate the low-res GRUs more frequently")
parser.add_argument('--n_gru_layers', type=int, default=3, help="number of hidden GRU levels")
parser.add_argument('--max_disp', type=int, default=192, help="max disp of geometry encoding volume")
args = parser.parse_args()
model = torch.nn.DataParallel(IGEVStereo(args), device_ids=[0])
......@@ -91,4 +92,4 @@ if __name__ == '__main__':
cv2.imshow('img', out_img)
cv2.waitKey(1)
videoWrite.write(out_img)
videoWrite.release()
\ No newline at end of file
videoWrite.release()
支持 Markdown
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册