TexasInstruments / edgeai-yolov5

YOLOv5 🚀 in PyTorch > ONNX > CoreML > TFLite. Forked from https://ultralytics.com/yolov5
https://github.com/TexasInstruments/edgeai
GNU General Public License v3.0
650 stars 120 forks source link

Some issue: Convert the onnx model to tda4 platform( * . bin) #2

Closed lilyswang closed 2 years ago

lilyswang commented 2 years ago

❔Question

Hi , thanks for your nice job! I now have some problems with model transformation when I Convert the onnx model to tda4 platform( * . bin). I hope to get your advice,thanks a lot.

Additional context

TIDL Meta PipeLine (Proto) File : ../../test/testvecs/config/import/public/onnx/mlh_yolov4/yolov5.prototxt [libprotobuf ERROR google/protobuf/text_format.cc:309] Error parsing text-format tidl_meta_arch.TIDLMetaArch: 54:5: Unknown enumeration value of "CODE_TYPE_YOLO_V5" for field "code_type". ERROR: google::protobuf::TextFormat::Parse proto file(../../test/testvecs/config/import/public/onnx/mlh_yolov4/yolov5.prototxt) FAILED !!!

Details like follows:

image

debapriyamaji commented 2 years ago

Hi, You are using slightly older sdk. It is supported from 8.0 release onwards.

lilyswang commented 2 years ago

@debapriyamaji Thanks a lot. SDK version is not match .^-^