Part Number: TDA4VM
I customize and test our multi-task model based on ti's yolox example.
It have one input and multiple outputs[detections, segmentation].
I refer to onnx export script from Ti' yolox example.
Finally build our model.onnx
when I compile our model on edgeai-tidl-tools, error occurred.
ERROR : Number of output names provided in prototxt - 1 - do not match actual number of outputs of OD network - 2
I debug it on ti-processor-sdk-rtos-j721e-evm-08_04_00_06/tidl_j721e_08_04_00_1/*
finally find the point for fix it, that is libtidl_oonxrt_EP.so located in rtos SDK.
ti_dl/utils/tidlModelImport/tidl_onnxRtImport_core.cpp(line 180 ~ 184)
if(tidlMetaArch.tidl_yolo(j).output_size() != graphOutputSize)
{
printf("\nERROR : Number of output names provided in prototxt - %d - do not match actual number of outputs of OD network - %d \n\n ", tidlMetaArch.tidl_yolo(j).output_size(),
graphOutputSize);
exit(-1);
}
I thinks, edgeai-tidl-tools use the libtidl_oonxrt_EP.so.
I will modify and re-compile the .so file.
How Can I do it?
thank you any information or comment or guide