Skip to content
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

Determine the environment #3

Open
zcc720 opened this issue May 28, 2019 · 1 comment
Open

Determine the environment #3

zcc720 opened this issue May 28, 2019 · 1 comment

Comments

@zcc720
Copy link

zcc720 commented May 28, 2019

Can you share your TensorRT&onnx&pytorch version?
When I run, I encounter the following errors,I suspect that different versions resulted.
onnx 1.5
Tensorrt TensorRT-5.1.5.0
Traceback (most recent call last):
File "weight_to_onnx.py", line 670, in
main()
File "weight_to_onnx.py", line 663, in main
onnx.checker.check_model(yolov3_model_def)
File "/home/zcc/anaconda3/envs/py27/lib/python2.7/site-packages/onnx/checker.py", line 86, in check_model
C.check_model(model.SerializeToString())
onnx.onnx_cpp2py_export.checker.ValidationError: Op registered for Upsample is depracted in domain_version of 10

@ruyijidan
Copy link

try onnx=>1.2 or 1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants