Hi,
We have converted the resnet50 model from tflite to TIDL format. We initially tried it with 8 bit and the accuracy is not completely sufficient. We tried 16 bit conversion and it gives very acceptable accuracy.
However, when we run the 16 bit TIDL(resnet50) model on the target, the values are very different. For 8 bit TIDL(resnet50) model, the pc values and target values match bit accuractely.
My questions:
1) How do we get 16 bit TIDL model to work on target?
2) What information do you require for providing some help?
I am attaching the log here for the 16 bit and 8 bit.
8 bit log
Supported TIDL layer type --- 26 Tflite layer type --- 34 layer output name--- model/resnet50_1/resnet50/conv1_pad/Pad Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv1_relu/Relu Supported TIDL layer type --- 26 Tflite layer type --- 34 layer output name--- model/resnet50_1/resnet50/pool1_pad/Pad Supported TIDL layer type --- 2 Tflite layer type --- 17 layer output name--- model/resnet50_1/resnet50/pool1_pool/MaxPool Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv2_block1_0_bn/FusedBatchNormV3 Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv2_block1_1_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv2_block1_2_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv2_block1_3_bn/FusedBatchNormV3 Supported TIDL layer type --- 5 Tflite layer type --- 0 layer output name--- model/resnet50_1/resnet50/conv2_block1_out/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv2_block2_1_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv2_block2_2_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv2_block2_3_bn/FusedBatchNormV3 Supported TIDL layer type --- 5 Tflite layer type --- 0 layer output name--- model/resnet50_1/resnet50/conv2_block2_out/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv2_block3_1_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv2_block3_2_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv2_block3_3_bn/FusedBatchNormV3 Supported TIDL layer type --- 5 Tflite layer type --- 0 layer output name--- model/resnet50_1/resnet50/conv2_block3_out/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv3_block1_0_bn/FusedBatchNormV3 Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv3_block1_1_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv3_block1_2_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv3_block1_3_bn/FusedBatchNormV3 Supported TIDL layer type --- 5 Tflite layer type --- 0 layer output name--- model/resnet50_1/resnet50/conv3_block1_out/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv3_block2_1_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv3_block2_2_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv3_block2_3_bn/FusedBatchNormV3 Supported TIDL layer type --- 5 Tflite layer type --- 0 layer output name--- model/resnet50_1/resnet50/conv3_block2_out/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv3_block3_1_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv3_block3_2_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv3_block3_3_bn/FusedBatchNormV3 Supported TIDL layer type --- 5 Tflite layer type --- 0 layer output name--- model/resnet50_1/resnet50/conv3_block3_out/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv3_block4_1_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv3_block4_2_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv3_block4_3_bn/FusedBatchNormV3 Supported TIDL layer type --- 5 Tflite layer type --- 0 layer output name--- model/resnet50_1/resnet50/conv3_block4_out/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv4_block1_0_bn/FusedBatchNormV3 Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv4_block1_1_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv4_block1_2_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv4_block1_3_bn/FusedBatchNormV3 Supported TIDL layer type --- 5 Tflite layer type --- 0 layer output name--- model/resnet50_1/resnet50/conv4_block1_out/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv4_block2_1_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv4_block2_2_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv4_block2_3_bn/FusedBatchNormV3 Supported TIDL layer type --- 5 Tflite layer type --- 0 layer output name--- model/resnet50_1/resnet50/conv4_block2_out/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv4_block3_1_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv4_block3_2_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv4_block3_3_bn/FusedBatchNormV3 Supported TIDL layer type --- 5 Tflite layer type --- 0 layer output name--- model/resnet50_1/resnet50/conv4_block3_out/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv4_block4_1_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv4_block4_2_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv4_block4_3_bn/FusedBatchNormV3 Supported TIDL layer type --- 5 Tflite layer type --- 0 layer output name--- model/resnet50_1/resnet50/conv4_block4_out/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv4_block5_1_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv4_block5_2_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv4_block5_3_bn/FusedBatchNormV3 Supported TIDL layer type --- 5 Tflite layer type --- 0 layer output name--- model/resnet50_1/resnet50/conv4_block5_out/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv4_block6_1_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv4_block6_2_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv4_block6_3_bn/FusedBatchNormV3 Supported TIDL layer type --- 5 Tflite layer type --- 0 layer output name--- model/resnet50_1/resnet50/conv4_block6_out/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv5_block1_0_bn/FusedBatchNormV3 Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv5_block1_1_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv5_block1_2_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv5_block1_3_bn/FusedBatchNormV3 Supported TIDL layer type --- 5 Tflite layer type --- 0 layer output name--- model/resnet50_1/resnet50/conv5_block1_out/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv5_block2_1_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv5_block2_2_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv5_block2_3_bn/FusedBatchNormV3 Supported TIDL layer type --- 5 Tflite layer type --- 0 layer output name--- model/resnet50_1/resnet50/conv5_block2_out/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv5_block3_1_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv5_block3_2_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv5_block3_3_bn/FusedBatchNormV3 Supported TIDL layer type --- 5 Tflite layer type --- 0 layer output name--- model/resnet50_1/resnet50/conv5_block3_out/Relu Supported TIDL layer type --- 2 Tflite layer type --- 40 layer output name--- Identity Number of subgraphs:1 , 73 nodes delegated out of 73 nodes In TIDL_tfliteRtImportInit subgraph_id=0 Layer 0, subgraph input 0, name=Identity Layer 1, subgraph input 0, name=input_1 In TIDL_tfliteRtImportNode TIDL Layer type 26 Tflite builtin code type 34 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 26 Tflite builtin code type 34 In TIDL_tfliteRtImportNode TIDL Layer type 2 Tflite builtin code type 17 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 5 Tflite builtin code type 0 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 5 Tflite builtin code type 0 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 5 Tflite builtin code type 0 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 5 Tflite builtin code type 0 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 5 Tflite builtin code type 0 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 5 Tflite builtin code type 0 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 5 Tflite builtin code type 0 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 5 Tflite builtin code type 0 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 5 Tflite builtin code type 0 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 5 Tflite builtin code type 0 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 5 Tflite builtin code type 0 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 5 Tflite builtin code type 0 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 5 Tflite builtin code type 0 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 5 Tflite builtin code type 0 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 5 Tflite builtin code type 0 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 5 Tflite builtin code type 0 In TIDL_tfliteRtImportNode TIDL Layer type 2 Tflite builtin code type 40 In TIDL_tfliteRtOptimizeNet: LayerIndex = 75, dataIndex = 74 WARNING : Pad layer won't be merged in the succeeding layer, it will be treated as a stand alone layer ************** Frame index 1 : Running float import ************* In TIDL_tfliteRtPostProcessNet: 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. **************************************************** ** 1 WARNINGS 0 ERRORS ** **************************************************** Done With TIDL_tfliteRtPostProcessNet: tidl_tfLiteRtImport_delegate.cpp tidl_subgraph_rt_create 425 tidl_tfLiteRtImport_delegate.cpp tidl_subgraph_rt_create 467 tidl_tfLiteRtImport_delegate.cpp tidl_subgraph_rt_create 469 tidl_tfLiteRtImport_delegate.cpp tidl_subgraph_rt_create 480 (299, 299, 3) tidl_tfLiteRtImport_delegate.cpp Invoke 722 tidl_tfLiteRtImport_delegate.cpp tidl_subgraph_rt_invoke 507 tidl_tfLiteRtImport_delegate.cpp tidl_subgraph_rt_invoke 577 tidl_tfLiteRtImport_delegate.cpp tidl_subgraph_rt_invoke 579 Sub Graph Stats 142.000000 8604513.000000 23.000000 tidl_tfLiteRtImport_delegate.cpp Invoke 729 ************ Frame index 1 : Running float inference **************** tidl_tfLiteRtImport_delegate.cpp Invoke 802 (1, 2048) (299, 299, 3) tidl_tfLiteRtImport_delegate.cpp Invoke 722 tidl_tfLiteRtImport_delegate.cpp tidl_subgraph_rt_invoke 507 tidl_tfLiteRtImport_delegate.cpp tidl_subgraph_rt_invoke 577 tidl_tfLiteRtImport_delegate.cpp tidl_subgraph_rt_invoke 579 Sub Graph Stats 238.000000 8088818.000000 10.000000 tidl_tfLiteRtImport_delegate.cpp Invoke 729 ************ Frame index 2 : Running float inference **************** tidl_tfLiteRtImport_delegate.cpp Invoke 802 (1, 2048) (299, 299, 3) tidl_tfLiteRtImport_delegate.cpp Invoke 722 tidl_tfLiteRtImport_delegate.cpp tidl_subgraph_rt_invoke 507 tidl_tfLiteRtImport_delegate.cpp tidl_subgraph_rt_invoke 577 tidl_tfLiteRtImport_delegate.cpp tidl_subgraph_rt_invoke 579 Sub Graph Stats 180.000000 8002198.000000 12.000000 tidl_tfLiteRtImport_delegate.cpp Invoke 729 ************ Frame index 3 : Running float inference **************** tidl_tfLiteRtImport_delegate.cpp Invoke 802 (1, 2048) (299, 299, 3) tidl_tfLiteRtImport_delegate.cpp Invoke 722 tidl_tfLiteRtImport_delegate.cpp tidl_subgraph_rt_invoke 507 tidl_tfLiteRtImport_delegate.cpp tidl_subgraph_rt_invoke 577 tidl_tfLiteRtImport_delegate.cpp tidl_subgraph_rt_invoke 579 Sub Graph Stats 179.000000 8250177.000000 13.000000 tidl_tfLiteRtImport_delegate.cpp Invoke 729 ************ Frame index 4 : Running float inference **************** tidl_tfLiteRtImport_delegate.cpp Invoke 802 (1, 2048) (299, 299, 3) tidl_tfLiteRtImport_delegate.cpp Invoke 722 tidl_tfLiteRtImport_delegate.cpp tidl_subgraph_rt_invoke 507 tidl_tfLiteRtImport_delegate.cpp tidl_subgraph_rt_invoke 577 tidl_tfLiteRtImport_delegate.cpp tidl_subgraph_rt_invoke 579 Sub Graph Stats 178.000000 8166646.000000 11.000000 tidl_tfLiteRtImport_delegate.cpp Invoke 729 ************ Frame index 5 : Running float inference **************** tidl_tfLiteRtImport_delegate.cpp Invoke 802 (1, 2048)
16 bit log
Supported TIDL layer type --- 26 Tflite layer type --- 34 layer output name--- model/resnet50_1/resnet50/conv1_pad/Pad Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv1_relu/Relu Supported TIDL layer type --- 26 Tflite layer type --- 34 layer output name--- model/resnet50_1/resnet50/pool1_pad/Pad Supported TIDL layer type --- 2 Tflite layer type --- 17 layer output name--- model/resnet50_1/resnet50/pool1_pool/MaxPool Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv2_block1_0_bn/FusedBatchNormV3 Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv2_block1_1_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv2_block1_2_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv2_block1_3_bn/FusedBatchNormV3 Supported TIDL layer type --- 5 Tflite layer type --- 0 layer output name--- model/resnet50_1/resnet50/conv2_block1_out/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv2_block2_1_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv2_block2_2_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv2_block2_3_bn/FusedBatchNormV3 Supported TIDL layer type --- 5 Tflite layer type --- 0 layer output name--- model/resnet50_1/resnet50/conv2_block2_out/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv2_block3_1_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv2_block3_2_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv2_block3_3_bn/FusedBatchNormV3 Supported TIDL layer type --- 5 Tflite layer type --- 0 layer output name--- model/resnet50_1/resnet50/conv2_block3_out/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv3_block1_0_bn/FusedBatchNormV3 Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv3_block1_1_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv3_block1_2_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv3_block1_3_bn/FusedBatchNormV3 Supported TIDL layer type --- 5 Tflite layer type --- 0 layer output name--- model/resnet50_1/resnet50/conv3_block1_out/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv3_block2_1_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv3_block2_2_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv3_block2_3_bn/FusedBatchNormV3 Supported TIDL layer type --- 5 Tflite layer type --- 0 layer output name--- model/resnet50_1/resnet50/conv3_block2_out/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv3_block3_1_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv3_block3_2_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv3_block3_3_bn/FusedBatchNormV3 Supported TIDL layer type --- 5 Tflite layer type --- 0 layer output name--- model/resnet50_1/resnet50/conv3_block3_out/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv3_block4_1_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv3_block4_2_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv3_block4_3_bn/FusedBatchNormV3 Supported TIDL layer type --- 5 Tflite layer type --- 0 layer output name--- model/resnet50_1/resnet50/conv3_block4_out/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv4_block1_0_bn/FusedBatchNormV3 Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv4_block1_1_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv4_block1_2_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv4_block1_3_bn/FusedBatchNormV3 Supported TIDL layer type --- 5 Tflite layer type --- 0 layer output name--- model/resnet50_1/resnet50/conv4_block1_out/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv4_block2_1_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv4_block2_2_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv4_block2_3_bn/FusedBatchNormV3 Supported TIDL layer type --- 5 Tflite layer type --- 0 layer output name--- model/resnet50_1/resnet50/conv4_block2_out/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv4_block3_1_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv4_block3_2_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv4_block3_3_bn/FusedBatchNormV3 Supported TIDL layer type --- 5 Tflite layer type --- 0 layer output name--- model/resnet50_1/resnet50/conv4_block3_out/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv4_block4_1_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv4_block4_2_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv4_block4_3_bn/FusedBatchNormV3 Supported TIDL layer type --- 5 Tflite layer type --- 0 layer output name--- model/resnet50_1/resnet50/conv4_block4_out/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv4_block5_1_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv4_block5_2_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv4_block5_3_bn/FusedBatchNormV3 Supported TIDL layer type --- 5 Tflite layer type --- 0 layer output name--- model/resnet50_1/resnet50/conv4_block5_out/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv4_block6_1_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv4_block6_2_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv4_block6_3_bn/FusedBatchNormV3 Supported TIDL layer type --- 5 Tflite layer type --- 0 layer output name--- model/resnet50_1/resnet50/conv4_block6_out/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv5_block1_0_bn/FusedBatchNormV3 Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv5_block1_1_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv5_block1_2_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv5_block1_3_bn/FusedBatchNormV3 Supported TIDL layer type --- 5 Tflite layer type --- 0 layer output name--- model/resnet50_1/resnet50/conv5_block1_out/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv5_block2_1_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv5_block2_2_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv5_block2_3_bn/FusedBatchNormV3 Supported TIDL layer type --- 5 Tflite layer type --- 0 layer output name--- model/resnet50_1/resnet50/conv5_block2_out/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv5_block3_1_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv5_block3_2_relu/Relu Supported TIDL layer type --- 1 Tflite layer type --- 3 layer output name--- model/resnet50_1/resnet50/conv5_block3_3_bn/FusedBatchNormV3 Supported TIDL layer type --- 5 Tflite layer type --- 0 layer output name--- model/resnet50_1/resnet50/conv5_block3_out/Relu Supported TIDL layer type --- 2 Tflite layer type --- 40 layer output name--- Identity Number of subgraphs:1 , 73 nodes delegated out of 73 nodes In TIDL_tfliteRtImportInit subgraph_id=0 Layer 0, subgraph input 0, name=Identity Layer 1, subgraph input 0, name=input_1 In TIDL_tfliteRtImportNode TIDL Layer type 26 Tflite builtin code type 34 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 26 Tflite builtin code type 34 In TIDL_tfliteRtImportNode TIDL Layer type 2 Tflite builtin code type 17 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 5 Tflite builtin code type 0 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 5 Tflite builtin code type 0 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 5 Tflite builtin code type 0 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 5 Tflite builtin code type 0 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 5 Tflite builtin code type 0 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 5 Tflite builtin code type 0 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 5 Tflite builtin code type 0 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 5 Tflite builtin code type 0 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 5 Tflite builtin code type 0 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 5 Tflite builtin code type 0 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 5 Tflite builtin code type 0 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 5 Tflite builtin code type 0 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 5 Tflite builtin code type 0 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 5 Tflite builtin code type 0 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 5 Tflite builtin code type 0 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 1 Tflite builtin code type 3 In TIDL_tfliteRtImportNode TIDL Layer type 5 Tflite builtin code type 0 In TIDL_tfliteRtImportNode TIDL Layer type 2 Tflite builtin code type 40 In TIDL_tfliteRtOptimizeNet: LayerIndex = 75, dataIndex = 74 WARNING : Pad layer won't be merged in the succeeding layer, it will be treated as a stand alone layer ************** Frame index 1 : Running float import ************* In TIDL_tfliteRtPostProcessNet: 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. **************************************************** ** 1 WARNINGS 0 ERRORS ** **************************************************** Done With TIDL_tfliteRtPostProcessNet: tidl_tfLiteRtImport_delegate.cpp tidl_subgraph_rt_create 425 tidl_tfLiteRtImport_delegate.cpp tidl_subgraph_rt_create 467 tidl_tfLiteRtImport_delegate.cpp tidl_subgraph_rt_create 469 tidl_tfLiteRtImport_delegate.cpp tidl_subgraph_rt_create 480 (299, 299, 3) tidl_tfLiteRtImport_delegate.cpp Invoke 722 tidl_tfLiteRtImport_delegate.cpp tidl_subgraph_rt_invoke 507 tidl_tfLiteRtImport_delegate.cpp tidl_subgraph_rt_invoke 577 tidl_tfLiteRtImport_delegate.cpp tidl_subgraph_rt_invoke 579 Sub Graph Stats 201.000000 8258182.000000 18.000000 tidl_tfLiteRtImport_delegate.cpp Invoke 729 ************ Frame index 1 : Running float inference **************** tidl_tfLiteRtImport_delegate.cpp Invoke 802 (1, 2048) (299, 299, 3) tidl_tfLiteRtImport_delegate.cpp Invoke 722 tidl_tfLiteRtImport_delegate.cpp tidl_subgraph_rt_invoke 507 tidl_tfLiteRtImport_delegate.cpp tidl_subgraph_rt_invoke 577 tidl_tfLiteRtImport_delegate.cpp tidl_subgraph_rt_invoke 579 Sub Graph Stats 235.000000 7481806.000000 17.000000 tidl_tfLiteRtImport_delegate.cpp Invoke 729 ************ Frame index 2 : Running float inference **************** tidl_tfLiteRtImport_delegate.cpp Invoke 802 (1, 2048) (299, 299, 3) tidl_tfLiteRtImport_delegate.cpp Invoke 722 tidl_tfLiteRtImport_delegate.cpp tidl_subgraph_rt_invoke 507 tidl_tfLiteRtImport_delegate.cpp tidl_subgraph_rt_invoke 577 tidl_tfLiteRtImport_delegate.cpp tidl_subgraph_rt_invoke 579 Sub Graph Stats 131.000000 7463679.000000 10.000000 tidl_tfLiteRtImport_delegate.cpp Invoke 729 ************ Frame index 3 : Running float inference **************** tidl_tfLiteRtImport_delegate.cpp Invoke 802 (1, 2048) (299, 299, 3) tidl_tfLiteRtImport_delegate.cpp Invoke 722 tidl_tfLiteRtImport_delegate.cpp tidl_subgraph_rt_invoke 507 tidl_tfLiteRtImport_delegate.cpp tidl_subgraph_rt_invoke 577 tidl_tfLiteRtImport_delegate.cpp tidl_subgraph_rt_invoke 579 Sub Graph Stats 215.000000 8027979.000000 14.000000 tidl_tfLiteRtImport_delegate.cpp Invoke 729 ************ Frame index 4 : Running float inference **************** tidl_tfLiteRtImport_delegate.cpp Invoke 802 (1, 2048) (299, 299, 3) tidl_tfLiteRtImport_delegate.cpp Invoke 722 tidl_tfLiteRtImport_delegate.cpp tidl_subgraph_rt_invoke 507 tidl_tfLiteRtImport_delegate.cpp tidl_subgraph_rt_invoke 577 tidl_tfLiteRtImport_delegate.cpp tidl_subgraph_rt_invoke 579 Sub Graph Stats 204.000000 8296305.000000 8.000000 tidl_tfLiteRtImport_delegate.cpp Invoke 729 ************ Frame index 5 : Running float inference **************** tidl_tfLiteRtImport_delegate.cpp Invoke 802 (1, 2048)
I see a common warning in both of them ->
WARNING : Pad layer won't be merged in the succeeding layer, it will be treated as a stand alone layer
************** Frame index 1 : Running float import *************
In TIDL_tfliteRtPostProcessNet:
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.
****************************************************
** 1 WARNINGS 0 ERRORS **
We used the recommendations to use 16 bit quantization from this link Could we know if we are doing something wrong here?
Thank You
Niranjan