This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

J721EXCPXEVM: TIDL testing error for cnn

Part Number: J721EXCPXEVM

I am trying to import a bisenet v2 into TIDL tool, but not successful. Could you check the log and the config file as attached. I could not figure out the cause as the network is very small and meets the requirements in the TIDL user guide manual. Thank you.

Kind regards,

Andy

_j7_01_04_00_08/ti_dl/utils/tidlModelImport$ ./out/tidl_model_import.out /data/jiang/sdk702/ti-processor-sdk-rtos-j721e-evm-07_02_00_06/tidl_j7_01_04_00_08/
ti_dl/test/testvecs/config/import/public/onnx/tidl_import_bisenetv2.txt
ONNX Model (Proto) File  : ../../test/testvecs/models/public/onnx/bisenetv2.onnx
TIDL Network File      : ../../test/testvecs/config/tidl_models/onnx/bisenetv2.bin
TIDL IO Info File      : ../../test/testvecs/config/tidl_models/onnx/tidl_io_bisenetv2_
Current ONNX OpSet Version   : 9
 keepdim for Argmax Layer shall be 1
 ONNX operator ReduceMean is not suported now..  By passing
Warning : Merging Pad layer with Average Pooling layer. This is expected to work but  this flow is functionally not validated with ONNX model format.
Could not find Indata for data ID 61

~~~~~Running TIDL in PC emulation mode to collect Activations range for each layer~~~~~

Processing config file #0 : /data/jiang/sdk702/ti-processor-sdk-rtos-j721e-evm-07_02_00_06/tidl_j7_01_04_00_08/ti_dl/test/testvecs/config/tidl_models/onnx/tidl_import_bisenetv2.txt.qunat_stats_config.txt
Segmentation fault (core dumped)

------------------ Network Compiler Traces -----------------------------
Wrong Network structure: Higher ( 128 > 127) number of co-ex Layers
Wrong Network structure: Higher ( 129 > 127) number of co-ex Layers
Error : Error Code = <ERR_WRONG_NETWORK_STRUCTURE>
substitute string tidl_net_ not found
Could not open /data/jiang/sdk702/ti-processor-sdk-rtos-j721e-evm-07_02_00_06/tidl_j7_01_04_00_08/ti_dl/test/testvecs/config/tidl_models/onnx/bisenetv2/perfSimInfo.bin
Segmentation fault (core dumped)
INFORMATION: [TIDL_ResizeLayer] Upsample_157 Any resize ratio which is power of 2 and greater than 4 will be placed by combination of 4x4 resize layer and 2x2 resize layer. For example a 8x8 resize will be replaced by 4x4 resize followed by 2x2 resize.
INFORMATION: [TIDL_ResizeLayer] Upsample_162 Any resize ratio which is power of 2 and greater than 4 will be placed by combination of 4x4 resize layer and 2x2 resize layer. For example a 8x8 resize will be replaced by 4x4 resize followed by 2x2 resize.
ERROR: TIDL_E_QUANT_STATS_NOT_AVAILABLE] tidl_quant_stats_tool.out fails to collect dynamic range. Please look into quant stats log. This model will get fault on target.
WARNING: [TIDL_E_DATAFLOW_INFO_NULL] ti_cnnperfsim.out fails to allocate memory in MSMC. Please look into perfsim log. This model can only be used on PC emulation, it will get fault on target.
****************************************************
**          3 WARNINGS          1 ERRORS          **
****************************************************
modelType          = 2
numParamBits       = 8
numFeatureBits = 8
inputNetFile      = "../../test/testvecs/models/public/onnx/bisenetv2.onnx"
outputNetFile      = "../../test/testvecs/config/tidl_models/onnx/bisenetv2.bin"
outputParamsFile   = "../../test/testvecs/config/tidl_models/onnx/tidl_io_bisenetv2_"
inDataNorm  = 1
inMean = 123.675 116.28 103.53
inScale = 0.017125 0.017507 0.017429
resizeWidth = 768
resizeHeight = 384
inWidth  = 768
inHeight = 384
inNumChannels = 3
inData  =   "../../test/testvecs/config/segmentation_list.txt"
postProcType = 3
perfSimConfig = ../../test/testvecs/config/import/device_config.cfg