-
-
Notifications
You must be signed in to change notification settings - Fork 77
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 Problem. #44
Comments
@GlimSH! Onnx conversion is not supported yet! I will add this module soon. |
@RizwanMunawar Thanks for the great code! Just wonder if onnx conversion is ok now? We can convert pt to onnx and trt engine, but the trt engine cannot be load in C++. It would be great if it can! |
@JasonRuan5! At moment onnx conversion is not optimized for C++ integration. I am working on this module, but It will take time to develop. Meanwhile, you can check my Patreon subscription from the link mentioned below, which will provide you access to all my coming projects and LinkedIn project codes. ✅✅✅✅✅✅✅✅✅ ✅✅✅✅✅✅✅✅✅ Thanks. |
@RizwanMunawar Thanks for such a quick response. Just wonder what is main difference between "converting .pt to .onnx and onnx to trt with trtexec" and "converting pt to engine directly"? Engine cannot be load if converted via onnx, but ok if converted directly. I am new to onnx and tensorrt, we are looking for sample code to segment image after loading the engine. Any suggestions/advices will be greatly appreciated! |
@JasonRuan5! There is no direct method for conversion of Pytorch(.pt) to Tensorrt (.engine). You will need to convert the model to onnx and then you can convert it into the trt. For jetson nano the way for conversion to (.engine) is different. It seems that the conversion of (onnx->engine) has some issues in input shape and output shape or quantization modules etc. I am not sure at the moment what will be the best possible way because I am working on this module yet. |
Hello, @RizwanMunawar , thank you for this awesome repository and code. |
@madinwei I am working on this stuff, but not been completed yet. It can take time, but I will try to add this module as soon as possible. Thanks. |
Hello @RizwanMunawar, where can I find information to do the onnx conversion for my own, until your module is not available? Thanks |
@RizwanMunawar Any update on the onnx conversion?? |
Hello, I studied using the project and checked the results. I tried to convert it to onnx, but there is a problem.
Is there any way to solve it?
The text was updated successfully, but these errors were encountered: