-
Notifications
You must be signed in to change notification settings - Fork 8
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
how to convet torch to onnx and then tensorrt #3
Comments
you can look at this discussion -> facebookresearch/Detic#113 (comment) |
Thanky you for rapid answering @codet-ovd I used detectron2's built-in script (i just change set-up configuration in export_onnx.py ) to convert torch model to onnx and i have successfully converted. I guess the problem with topk initialization due to varing the image_thresh per image in centernet.py.
I also faced the error as below. i don't know why these error is occuring. Can you help me solve this please? |
Thank you for answering @gigasurgeon I can convert torch model to onnx without comment the nms_and_topk line in centernet, while exporting the model. Actually, i can't convet onnx to tensorrt as above issue. Can you give me a suggetion to solve above issue ? |
Thank you for your great work.
Do you have any plan to support model conveting implementation for onnx ?
The text was updated successfully, but these errors were encountered: