Open lukebor opened 1 year ago
As for the origin config of redet in MMRotate. Most modules should have been supported by MMDeploy besides RiRoIAlignRotated
, which is a custom op in MMCV. You might need to add your custom implementation in backend_ops.
Since you are using your custom config, you might have added some functions that have not been supported yet. You can add a custom rewriter for the function. There are may example here.
And it is worth mentioning that torch1.13 has done some update to the ONNX export, which might broken some tricks here. We are working on fixing it. It is recommended to use torch1.12 for now.
Thank you for your reply, this is what i was suspecting. Good luck with torch1.13 fix :)
RuntimeError: Dangling node reference
2023-02-28 16:21:08,264 - mmdeploy - ERROR - mmdeploy.apis.pytorch2onnx.torch2onnx
with Call id: 0 failed. exit.
I encountered the same error when generating centerpoint onnx. Is there any way to quickly locate what operation caused this problem?
thanks!
Checklist
Describe the bug
Hello, i want to deploy redet model from mmrotate framework. I didn't see that Redet is supported but still wanted to try. If there is knowledge that Redet will not work on onnx please tell me.
Reproduction
Environment
Error traceback