-
Notifications
You must be signed in to change notification settings - Fork 648
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
[Bug] fail to export rtmdet and rtmdet-ins to onnx #1586
Comments
I also encountered this problem in the latest version |
how to show more log ?it difficult to debug。Having trouble finding what's wrong |
Hi, friends: I will take a look at it. |
Hi @zhangzscn , @lansfair:
python ./tools/deploy.py configs/mmdet/detection/detection_onnxruntime_static.py ../mmdetection/configs/rtmdet/rtmdet_s_8xb32-300e_coco.py ../mmdetection/work_dirs/rtmdet_s_8xb32-300e_coco_20220905_161602-387a891e.pth demo/resources/det.jpg --device cuda has fixed in #1603. python ./tools/deploy.py configs/mmdet/instance-seg/instance-seg_onnxruntime_static.py ../mmdetection/configs/rtmdet/rtmdet-ins_s_8xb32-300e_coco.py ../mmdetection/work_dirs/rtmdet-ins_s_8xb32-300e_coco_20221121_212604-fdc5d7ec.pth demo/resources/det.jpg --device cuda is because the |
thanks a lot |
@RangiLyu any update? When will export to onnx be supported? |
@zhangzscn May I ask how you installed all the mm libraries to get the deploy script working? I'm guessing I went wrong with the installation somewhere. / M |
Please run |
new error(openmmlab3) zhangzs36@midea:/mnt/data1/代码/mmdeploy$ python ./tools/deploy.py configs/mmdet/instance-seg/instance-seg_rtmdet-ins_onnxruntime_static-640x640.py ../mmdetection/configs/rtmdet/rtmdet-ins_s_8xb32-300e_coco.py ../mmdetection/work_dirs/rtmdet-ins_s_8xb32-300e_coco_20221121_212604-fdc5d7ec.pth demo/resources/det.jpg --device cuda:0 Reproductionpython ./tools/deploy.py configs/mmdet/instance-seg/instance-seg_rtmdet-ins_onnxruntime_static-640x640.py ../mmdetection/configs/rtmdet/rtmdet-ins_s_8xb32-300e_coco.py ../mmdetection/work_dirs/rtmdet-ins_s_8xb32-300e_coco_20221121_212604-fdc5d7ec.pth demo/resources/det.jpg --device cuda:0 Environment02/13 14:54:45 - mmengine - INFO - 02/13 14:54:45 - mmengine - INFO - Environmental information
02/13 14:54:45 - mmengine - INFO - TorchVision: 0.14.1 02/13 14:54:45 - mmengine - INFO - Backend information 02/13 14:54:45 - mmengine - INFO - Codebase information |
This issue is marked as stale because it has been marked as invalid or awaiting response for 7 days without any further response. It will be closed in 5 days if the stale label is not removed or if there is no further response. |
This issue is closed because it has been stale for 5 days. Please open a new issue if you have similar issues or you have any new updates now. |
Checklist
Describe the bug
fail to export rtmdet and rtmdet-ins to onnx
Reproduction
python ./tools/deploy.py configs/mmdet/detection/detection_onnxruntime_static.py ../mmdetection/configs/rtmdet/rtmdet_s_8xb32-300e_coco.py ../mmdetection/work_dirs/rtmdet_s_8xb32-300e_coco_20220905_161602-387a891e.pth demo/resources/det.jpg --device cuda
python ./tools/deploy.py configs/mmdet/instance-seg/instance-seg_onnxruntime_static.py ../mmdetection/configs/rtmdet/rtmdet-ins_s_8xb32-300e_coco.py ../mmdetection/work_dirs/rtmdet-ins_s_8xb32-300e_coco_20221121_212604-fdc5d7ec.pth demo/resources/det.jpg --device cuda
Environment
Error traceback
The text was updated successfully, but these errors were encountered: