NVIDIA-AI-IOT / cuDLA-samples

YOLOv5 on Orin DLA
Other
187 stars 18 forks source link

Protobuf error when build_dla_standalone_loadable.sh #6

Closed chenscottus closed 10 months ago

chenscottus commented 1 year ago

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

lynettez commented 1 year ago

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

lynettez commented 10 months ago

No reply in 2 months. closing