HI Debapriya.
here is log_pc and log tvm.
root@j7-evm:/opt/edgeai-tidl-tools/yolov5_onnx_0728# python3 yolo_onnx_inference_tidl.py --model_path ./yolov5s6_640_ti_lite_37p4_56p0.onnx --model_prototxt ./yolov5s6_640_ti_lite_metaarch.prototxt --inference libtidl_onnxrt_EP loaded 0xd2c5590 Final number of subgraphs created are : 1, - Offloaded Nodes - 320, Total Nodes - 320 APP: Init ... !!! MEM: Init ... !!! MEM: Initialized DMA HEAP (fd=4) !!! MEM: Init ... Done !!! IPC: Init ... !!! IPC: Init ... Done !!! REMOTE_SERVICE: Init ... !!! REMOTE_SERVICE: Init ... Done !!! 431.469716 s: GTC Frequency = 200 MHz APP: Init ... Done !!! 431.472975 s: VX_ZONE_INIT:Enabled 431.472997 s: VX_ZONE_ERROR:Enabled 431.473002 s: VX_ZONE_WARNING:Enabled 431.476860 s: VX_ZONE_INIT:[tivxInitLocal:130] Initialization Done !!! 431.477034 s: VX_ZONE_INIT:[tivxHostInitLocal:86] Initialization Done for HOST !!! Starting Inference 1/8
TIDL Meta PipeLine (Proto) File : ./yolov5s6_640_ti_lite_metaarch.prototxt yolo_v3 yolo_v3 Number of OD backbone nodes = 192 Size of odBackboneNodeIds = 192 Preliminary subgraphs created = 1 Final number of subgraphs created are : 1, - Offloaded Nodes - 320, Total Nodes - 320 TIDL Meta PipeLine (Proto) File : ./yolov5s6_640_ti_lite_metaarch.prototxt yolo_v3 yolo_v3 ************** Frame index 1 : Running float import ************* INFORMATION: [TIDL_ResizeLayer] Resize_107 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] Resize_123 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] Resize_139 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. 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. **************************************************** ** 4 WARNINGS 0 ERRORS ** **************************************************** 0.0s: VX_ZONE_INIT:Enabled 0.16s: VX_ZONE_ERROR:Enabled 0.19s: VX_ZONE_WARNING:Enabled 0.1036s: VX_ZONE_INIT:[tivxInit:178] Initialization Done !!! ********** Frame Index 1 : Running float inference ********** ********** Frame Index 2 : Running fixed point mode for calibration ********** ~~~~~Running TIDL in PC emulation mode to collect Activations range for each layer~~~~~ Processing config file #0 : /workspace/edgeai-tidl-tools/yolov5_onnx_0728/artifacts/tempDir/detections_tidl_io_.qunat_stats_config.txt ----------------------- TIDL Process with REF_ONLY FLOW ------------------------ # 0 . .. T 13400.59 .... ..... ... .... ..... # 1 . .. T 13332.97 .... ..... ... .... ..... ~~~~~Running TIDL in PC emulation mode to collect Activations range for each layer~~~~~ Processing config file #0 : /workspace/edgeai-tidl-tools/yolov5_onnx_0728/artifacts/tempDir/detections_tidl_io_.qunat_stats_config.txt ----------------------- TIDL Process with REF_ONLY FLOW ------------------------ # 0 . .. T 7748.07 .... ..... ... .... ..... # 1 . .. T 7708.69 .... ..... ... .... ..... ***************** Calibration iteration number 0 completed ************************ ~~~~~Running TIDL in PC emulation mode to collect Activations range for each layer~~~~~ Processing config file #0 : /workspace/edgeai-tidl-tools/yolov5_onnx_0728/artifacts/tempDir/detections_tidl_io_.qunat_stats_config.txt ----------------------- TIDL Process with REF_ONLY FLOW ------------------------ # 0 . .. T 7716.91 .... ..... ... .... ..... # 1 . .. T 7846.09 .... ..... ... .... ..... ***************** Calibration iteration number 1 completed ************************ ~~~~~Running TIDL in PC emulation mode to collect Activations range for each layer~~~~~ Processing config file #0 : /workspace/edgeai-tidl-tools/yolov5_onnx_0728/artifacts/tempDir/detections_tidl_io_.qunat_stats_config.txt ----------------------- TIDL Process with REF_ONLY FLOW ------------------------ # 0 . .. T 7956.18 .... ..... ... .... ..... # 1 . .. T 7788.32 .... ..... ... .... ..... ***************** Calibration iteration number 2 completed ************************ ~~~~~Running TIDL in PC emulation mode to collect Activations range for each layer~~~~~ Processing config file #0 : /workspace/edgeai-tidl-tools/yolov5_onnx_0728/artifacts/tempDir/detections_tidl_io_.qunat_stats_config.txt ----------------------- TIDL Process with REF_ONLY FLOW ------------------------ # 0 . .. T 7897.44 .... ..... ... .... ..... # 1 . .. T 7970.02 .... ..... ... .... ..... ***************** Calibration iteration number 3 completed ************************ ~~~~~Running TIDL in PC emulation mode to collect Activations range for each layer~~~~~ Processing config file #0 : /workspace/edgeai-tidl-tools/yolov5_onnx_0728/artifacts/tempDir/detections_tidl_io_.qunat_stats_config.txt ----------------------- TIDL Process with REF_ONLY FLOW ------------------------ # 0 . .. T 7873.18 .... ..... ... .... ..... # 1 . .. T 7746.24 .... ..... ... .... ..... ***************** Calibration iteration number 4 completed ************************ ------------------ Network Compiler Traces ----------------------------- successful Memory allocation substitute string tidl_net_ not found INFORMATION: [TIDL_ResizeLayer] Resize_107 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] Resize_123 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] Resize_139 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. **************************************************** ** 3 WARNINGS 0 ERRORS ** ****************************************************