Part Number: TMDSEVM572X
Other Parts Discussed in Thread: TDA4VM
Hardware: TMDSEVM572X
SDK: Processor SDK LInux 06_03_00_106
Hello, TI!
(1) When I tried to import a ONNX model exported by the latest Pytorch(I set opset=9), the TIDL model import program outputs error as follows:
[libprotobuf FATAL /oe/bld/build-CORTEX_1/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/tidl-import/01.01.03.02-r1/recipe-sysroot/usr/include/google/protobuf/repeated_field.h:1167] CHECK failed: (index) < (current_size_): terminate called after throwing an instance of 'google::protobuf::FatalException' what(): CHECK failed: (index) < (current_size_):All of the layers should be suppoted. Is it because of the Pytorch version? Possible to tell the specific version of Pytorch?

(2) I succefully compiled the ArmNN CaffeParser program. When the program tried to read the caffemodel, it outputs errors as follows:
terminate called after throwing an instance of 'armnn::ParseException' what(): Data blob at index 0 in layer conv1 has an unexpected size. Expected 1728 elements but got 0 elements. at function GetDataFromBlob [/oe/bld/build-CORTEX_1/arago-tmp-external-arm-toolchain/work/armv7at2hf-neon-linux-gnueabi/armnn/19.08-r4/git/src/armnnCaffeParser/CaffeParser.cpp:115]
I searched some solutions. Use an "Input" layer as the network input and save an inference caffemodel(scripts as below) both in caffe and caffe-jacinto. It still outputs the same saying the layer1 has no elements.
import caffe net = caffe.Net(deploy_prototxt, trained_model, caffe.TEST) net.save(inference_model)
Is there any solution?
Thank you, TI!