TexasInstruments / edgeai-benchmark

This repository has been moved. The new location is in https://github.com/TexasInstruments/edgeai-tensorlab
https://github.com/TexasInstruments/edgeai
Other
3 stars 0 forks source link

custom YOLOv5 Ti Lite Model with error invalid values for num_input_tensors or num_output_tensors #23

Open zhuangyihao1997 opened 7 months ago

zhuangyihao1997 commented 7 months ago

Hello , I want to compile the yolov5 you provided for running on AM62A7. The compilation process can be passed smoothly and the corresponding artifacts can be obtained. However, after I copy it to /opt/model_zoo/ and modify object_detection.yaml, The operation failed with the following error: TIDL_RT_OVX: ERROR: Config file size (37912 bytes) does not match size of sTIDL_IOBufDesc_t (37272 bytes) 2057.108038 s: VX_ZONE_ERROR:[tivxAddKernelTIDL:269] invalid values for num_input_tensors or num_output_tensors 2057.127215 s: VX_ZONE_ERROR:[vxQueryKernel:137] Invalid kernel reference 2057.127259 s: VX_ZONE_ERROR:[vxMapUserDataObject:456] Invalid user data object reference

How can i do

mathmanu commented 7 months ago

Could this be a version mismatch between the compilation tools and the the SDK in which you are trying to run?