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.

perfsim tool is stopped with SegmentationFault

Part Number: TDA4VM

Hi

 

We are trying to import a model (Link) called EfficientDet-Lite4 into TIDL using tidl_model_import.out.

But perfsim tool is stopped with SegmentationFault with the error message "Increase the MAX_CONSTRAINED_DATA".

I can share all the test environment separately.

Question1:

What's the reason of above error?

Is it possible to output multiple tensors?

(I'm afraid that the network which outputs multiple tensors causes the error.)

Question2:

Is the source code of perfsim tool (ti_cnnperfsim.out) included in SDK https://www.ti.com/tool/download/PROCESSOR-SDK-RTOS-J721E#downloads?

Please point us the location of it?

==== tidl_model_import.out log =====

xxxx:~/Ti/ti-processor-sdk-rtos-j721e-evm-07_02_00_06/tidl_j7_01_04_00_08/ti_dl/utils/tidlModelImport$ ./out/tidl_model_import.out ../../test/testvecs/config/import/public/tflite/tidl_import_efficientdet_lite4.txt

TFLite Model (Flatbuf) File  : ../../test/testvecs/models/public/tflite/efficientdet-lite4_512x512_fp32.tflite 

TIDL Network File      : ../../test/testvecs/config/tidl_models/tflite/efdet-lite4/efficientdet-lite4_512x512_fp32.bin 

TIDL IO Info File      : ../../test/testvecs/config/tidl_models/tflite/efdet-lite4/efficientdet-lite4_512x512_fp32_ 

446

 

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

 

Processing config file #0 : /home/xxxx/Ti/ti-processor-sdk-rtos-j721e-evm-07_02_00_06/tidl_j7_01_04_00_08/ti_dl/test/testvecs/config/tidl_models/tflite/efdet-lite4/tidl_import_efficientdet_lite4.txt.qunat_stats_config.txt

 ----------------------- TIDL Process with REF_ONLY FLOW ------------------------

 

#    0 . .. T   14477.97  .... ..... ... A :   895, 0.0000, 0.0000, 651972 .... .....

#    1 . .. T   14230.50  .... ..... ... A :   557, 0.0000, 0.0000,  8406 .... .....

------------------ Network Compiler Traces -----------------------------

Increase the MAX_CONSTRAINED_DATAIncrease the MAX_CONSTRAINED_DATAIncrease the MAX_CONSTRAINED_DATAIncrease the MAX_CONSTRAINED_DATAIncrease the MAX_CONSTRAINED_DATAIncrease the MAX_CONSTRAINED_DATASegmentation fault (core dumped)

substitute string tidl_net_ not found

Segmentation fault (core dumped)

INFORMATION: [TIDL_ResizeLayer] fpn_cells/cell_0/fnode0/resample_1_4_5/ResizeNearestNeighbor 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] fpn_cells/cell_0/fnode1/resample_1_5_6/ResizeNearestNeighbor 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] fpn_cells/cell_0/fnode2/resample_1_6_7/ResizeNearestNeighbor 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] fpn_cells/cell_0/fnode3/resample_1_7_8/ResizeNearestNeighbor 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] fpn_cells/cell_1/fnode0/resample_1_4_5/ResizeNearestNeighbor 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] fpn_cells/cell_1/fnode1/resample_1_5_6/ResizeNearestNeighbor 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] fpn_cells/cell_1/fnode2/resample_1_6_7/ResizeNearestNeighbor 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] fpn_cells/cell_1/fnode3/resample_1_7_8/ResizeNearestNeighbor 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] fpn_cells/cell_2/fnode0/resample_1_4_5/ResizeNearestNeighbor 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] fpn_cells/cell_2/fnode1/resample_1_5_6/ResizeNearestNeighbor 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] fpn_cells/cell_2/fnode2/resample_1_6_7/ResizeNearestNeighbor 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] fpn_cells/cell_2/fnode3/resample_1_7_8/ResizeNearestNeighbor 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] fpn_cells/cell_3/fnode0/resample_1_4_5/ResizeNearestNeighbor 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] fpn_cells/cell_3/fnode1/resample_1_5_6/ResizeNearestNeighbor 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] fpn_cells/cell_3/fnode2/resample_1_6_7/ResizeNearestNeighbor 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] fpn_cells/cell_3/fnode3/resample_1_7_8/ResizeNearestNeighbor 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] fpn_cells/cell_4/fnode0/resample_1_4_5/ResizeNearestNeighbor 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] fpn_cells/cell_4/fnode1/resample_1_5_6/ResizeNearestNeighbor 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] fpn_cells/cell_4/fnode2/resample_1_6_7/ResizeNearestNeighbor 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] fpn_cells/cell_4/fnode3/resample_1_7_8/ResizeNearestNeighbor 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] fpn_cells/cell_5/fnode0/resample_1_4_5/ResizeNearestNeighbor 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] fpn_cells/cell_5/fnode1/resample_1_5_6/ResizeNearestNeighbor 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] fpn_cells/cell_5/fnode2/resample_1_6_7/ResizeNearestNeighbor 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] fpn_cells/cell_5/fnode3/resample_1_7_8/ResizeNearestNeighbor 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] fpn_cells/cell_6/fnode0/resample_1_4_5/ResizeNearestNeighbor 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] fpn_cells/cell_6/fnode1/resample_1_5_6/ResizeNearestNeighbor 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] fpn_cells/cell_6/fnode2/resample_1_6_7/ResizeNearestNeighbor 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] fpn_cells/cell_6/fnode3/resample_1_7_8/ResizeNearestNeighbor 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.

****************************************************

**         28 WARNINGS          0 ERRORS          **

****************************************************

Thanks and Best regards,

HaTa