Skip to content
GitLab
项目
群组
代码片段
/
帮助
帮助
支持
社区论坛
快捷键
?
提交反馈
登录
切换导航
菜单
打开侧边栏
huangzhuofei
IGEV
提交
c8744c37
未验证
提交
c8744c37
编辑于
2年前
作者:
Gangwei Xu
提交者:
GitHub
2年前
浏览文件
操作
下载
电子邮件补丁
差异文件
Update demo_video.py
上级
b7642e52
变更
1
Hide whitespace changes
Inline
Side-by-side
显示
1 个更改的文件
IGEV-Stereo/demo_video.py
+2
-1
IGEV-Stereo/demo_video.py
有
2 个添加
和
1 个删除
+2
-1
IGEV-Stereo/demo_video.py
+
2
-
1
浏览文件 @
c8744c37
...
...
@@ -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
()
This diff is collapsed.
Click to expand it.
编辑
预览
支持
Markdown
0%
请重试
或
添加新附件
.
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录