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

one分支导模型出现问题BEVDepth4DTRT is not in the models registry #20

Open
linClubs opened this issue Sep 15, 2023 · 2 comments

Comments

@linClubs
Copy link

您好,感谢您的工作。我在使用one分支测试bevdet.yaml,运行时YAML:会报错,我看了代码发现是bevdet.yaml中有些参数没有给出来,我测试bevdet_lt_depth.yaml配置时,使用tools/convert_bevdet_to_TRT.py脚本将pth转engine时,会出现KeyError: 'BEVDepth4DTRT is not in the models registry'错误,转模型使用的分支是BEVDetv2.1。我应该怎么处理才能使bevdet-r50-4dlongterm-depth-cbgs.pth文件转成engine文件?谢谢

@linClubs
Copy link
Author

我使用您的export分支导出onnx,bevdet-r50-4dlongterm-depth-cbgs.pth生成了bev_stage_lt_d.onnx与img_stage_lt_d.onnx文件,请问怎么可以生成one分支需要的1个onnx?谢谢

@LCH1238
Copy link
Owner

LCH1238 commented Oct 8, 2023

你可以参考这个repo 里面的这份脚本

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