learnopencv
learnopencv copied to clipboard
Cannot Parse ONNX model.
Hey guys! I am using tensorrt 8. Tried to test the sample C++ script "trt_sample.cpp" for the provided "resnet50.onnx" model. I am getting the below error:
[libprotobuf ERROR google/protobuf/text_format.cc:298] Error parsing text-format onnx2trt_onnx.ModelProto: 1:9: Message type "onnx2trt_onnx.ModelProto" has no field named "version". ModelImporter.cpp:682: Failed to parse ONNX model from file: resnet50.onnx ERROR: could not parse the model.
Can anyone help me with this?