-
Notifications
You must be signed in to change notification settings - Fork 33
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
onnx export #59
Comments
We have an overly complicated example of doing an onnx export across the suite of models we analyzed: https://github.com/NVlabs/RADIO/blob/main/examples/count_params.py (Just uncomment the code around the onnx export). Have you run into problems using it? I think with opset=17, it should hopefully be pretty straightforward. |
thanks a lot @mranzinger ; I tried the 'count_paramas.py' and successfully exported onnx model for e-radio2. Here are some questions: 1. at least which version should be used for converting the onnx model to trt engine? it fails for trt 8.4; 2. the exported default e-radio2 onnx model still too large to show with netron tool, how to use a smaller version of e-radio2 since in the codabase there are many versions of registered e-radio2 for different configuration. |
Good questions. @gheinrich is much more of an expert on e-radio + tensorrt things. Greg, could you shed some light on this? |
Hello, I used TensorRT 9.0 to export E-RADIO2. If you're looking for a smaller version of E-RADIO, you can use |
great work! since radio could be used to get sota feature representation, it may be very useful for some tasks such as image retrieval or video retrieval. Also, is there example for onnx model export of radio, which could be easily integrated in downstream task just mentioned before.
The text was updated successfully, but these errors were encountered: