-
Notifications
You must be signed in to change notification settings - Fork 747
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
can you export onnx? #2
Comments
It's easy. I'll provide it later . |
@biubug6 If you could do it, that would be amazing! |
@biubug6 Do you have any timetable for the onnx model please? |
@SnowRipple @wangpupanjing So sorry to have kept you waiting. Now I provide script "convert_to_onnx.py" to export onnx. |
I think I had the same error, the problem was with onnx not pytorch, just updated onnx (pytorch can have different onnx version) ;) |
Yes, but it was a while ago so I don't remember specifics - it is known problem with onnx, but there was simple fix - try google;) |
can you tell me how to load .onnx model with tensor RT , thank you very much. I load the model like this : but,I get this errors: sorRT does not natively support INT64. Attempting to cast down to INT32. |
I think torch2trt is better than going pytorch -> onnx -> tensorrt |
[01/07 / 2020-19:19:11] [W] [TRT] onnx2trt_utils.cpp:198:您的ONNX模型是使用INT64权重生成的,而TensorRT本身不支持INT64。尝试转换为INT32。 |
I faced the problem of the Pytorch_Retinaface/models/net.py Line 89 in b984b4b
Pytorch_Retinaface/models/net.py Line 93 in b984b4b
F.interpolate(output3, size=[output2.size(2), output2.size(3)], mode="nearest") => F.interpolate(output3, size=(int(output2.size(2)), int(output2.size(3))), mode="nearest")
|
can you export onnx?
The text was updated successfully, but these errors were encountered: