Protobuf error when build_dla_standalone_loadable.sh in Jetpack 5.1.2 in Orin 32GB:
[10/03/2023-16:57:21] [I] Start parsing network model
[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".
[10/03/2023-16:57:21] [E] [TRT] ModelImporter.cpp:688: Failed to parse ONNX model from file: data/model/yolov5_trimmed_qat.onnx
[10/03/2023-16:57:21] [E] Failed to parse onnx file
Hi @chenscottus, sorry for the late reply. looks like the onnx model is invalid, could you try to fetch the model from git-lfs and build again?
git lfs fetch --all
Hello,
Protobuf error when build_dla_standalone_loadable.sh in Jetpack 5.1.2 in Orin 32GB:
[10/03/2023-16:57:21] [I] Start parsing network model [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". [10/03/2023-16:57:21] [E] [TRT] ModelImporter.cpp:688: Failed to parse ONNX model from file: data/model/yolov5_trimmed_qat.onnx [10/03/2023-16:57:21] [E] Failed to parse onnx file
Thanks!
-Scott