Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

无法推理 #118

Open
Hlll-huang opened this issue Jul 22, 2024 · 5 comments
Open

无法推理 #118

Hlll-huang opened this issue Jul 22, 2024 · 5 comments

Comments

@Hlll-huang
Copy link

你好,我想请问,推理lightstereo时候,模型的权重应该设置在哪里?为什么直接使用lightstereo还需要下载moblenet的权重???

@CaptainRui1000
Copy link
Collaborator

你好,我想请问,推理lightstereo时候,模型的权重应该设置在哪里?为什么直接使用lightstereo还需要下载moblenet的权重???

OpenStereo/stereo/modeling/models/lightstereo/backbone.py Backbone里面的pretrained改成=False就不需要下载moblenet了

lightstereo的权重可以在model zoo找到,https://drive.google.com/drive/folders/1eGtN_JAKy684ZP8gLTUemSgQxZir8hLf

@Hlll-huang
Copy link
Author

已解决,感谢,但又存在新的问题,尝试使用官方权重推理kitti的第一张数据集,但得到的效果很差,想问问是什么原因,有解决方案吗?
000000_10

@Hlll-huang
Copy link
Author

伪彩色图,如下所示
0

@CaptainRui1000
Copy link
Collaborator

CaptainRui1000 commented Jul 23, 2024

已解决,感谢,但又存在新的问题,尝试使用官方权重推理kitti的第一张数据集,但得到的效果很差,想问问是什么原因,有解决方案吗? 000000_10

请问是怎样的推理流程?

@Hlll-huang
Copy link
Author

已解决,感谢,但又存在新的问题,尝试使用官方权重推理kitti的第一张数据集,但得到的效果很差,想问问是什么原因,有解决方案吗? 000000_10

请问是怎样的推理流程?
我在cfg的lightstereo_s_kitti.yaml文件里面的参数PRETRAINED_MODEL添加了官网的训练权重,然后运行python tools/infer.py 添加cfg_file和左右图路径。
1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants