-
Notifications
You must be signed in to change notification settings - Fork 76
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
NNTOOL: Error when 'open *.onnx' #370
Comments
Your SDK is very old. Please update it. ONNX Constant operator is supported in opset version 13 in the latest SDK. |
``> Your SDK is very old. Please update it. ONNX Constant operator is supported in opset version 13 in the latest SDK. Hi @sousoux,
According to the error report, I deleted 55 lines of code in
According to debug, error reporting seems to be generated in the process of quantification:
I think this problem is caused by the large span of changing gap_sdkv3.9 to gap_sdkv4.22 (some file location may already changed). I wonder if there are any solutions? Or I can just modify the pulp-dronet's makefile by my own? |
I try to solve this problem by my own and do make some progresses. |
Hi, I tried to use
open
command in nntool to open the onnx model generated by the parameters trained by pulp-dronet-v2, but I encountered the following error:Here is the network dronet_v2_gapflow
Here is the .pth file pulp_dronet_v2_10.pth
Here is the .onnx file model_gapflow.onnx
And my environment are listed:
python: 3.8
gap_sdk: 3.9.1
I was able to run the
open
command successfully before, but I don't know if I made some changes to the gap_sdk environment that caused this problem.In addition, I noticed that there is a
bn module
in .pth file, but there is no such module in the generated onnx model.This is different from the onnx model in the official pulp-dronet-v2 is as follow: :model_original.onnxThis question has been bothering me for a long time. I look forward to your reply!
The text was updated successfully, but these errors were encountered: