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
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