arjun.a
range data
5aefcf4
raw
history blame
21.2 kB
Ticket Name: PROCESSOR-SDK-TDAX: TIDL modelImportTool model compatability
Query Text:
Part Number: PROCESSOR-SDK-TDAX Hi I am having problems with the modelImportTool from the Vision SDK. The documentation states that the tool is compatible with both MobileNet v1 and v2 from TensorFlow Slim, when I download these two models as tarballs from TensorFlow Slim, more specifically for this thread MobileNet v1, and try them out myself they do not pass the import. I have attached the output from the importModelTool along with the configuration file for importing the model. Is the error on my part or in the modelImportTool because this should work, right? Vision SDK version 3.08. Tested with the same exact results on both Windows and Linux. tidlImportTool_output.txt =============================== TIDL import - parsing ===============================
TF Model (Proto) File : C:\Users\Love\Downloads\mobilenet_v1_1.0_224\mobilenet_v1_1.0_224_frozen.pb
TIDL Network File : C:\Users\Love\Downloads\mobilenet_v1_1.0_224\tidl_net_output.bin
TIDL Params File : C:\Users\Love\Downloads\mobilenet_v1_1.0_224\tidl_params_output.bin
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
TIDL limitation: TensorFlow operator Identity is not suported.
Import error: This TensorFlow model has unsupported operators. Please check TIDL User's Guide for supported operators.
Error in sorting layers: matching layer cannot be found!
Import error: This TensorFlow model's topology is not supported. Please check TIDL User's Guide for supported network topologies.
TIDL limitation: Reshape layer cannot be merged with layers other than InnerProduct or AveragePooling layer!
Import error: Reshape layer cannot be merged.
Num of Layer Detected : 35
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Num|TIDL Layer Name |Out Data Name |Group |#Ins |#Outs |Inbuf Ids |Outbuf Id |In NCHW |Out NCHW |MACS |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
0|TIDL_DataLayer |input | 0| -1| 1| x x x x x x x x | 0 | 0 0 0 0 | 1 3 224 224 | 0 |
1|TIDL_ConvolutionLayer |MobilenetV1/MobilenetV1/Conv2d_0/Relu6 | 1| 1| 1| 0 x x x x x x x | 1 | 1 3 224 224 | 1 32 112 112 | 11640832 |
2|TIDL_ConvolutionLayer |MobilenetV1/MobilenetV1/Conv2d_1_depthwise/Relu6 | 1| 1| 1| 1 x x x x x x x | 2 | 1 32 112 112 | 1 32 112 112 | 4415488 |
3|TIDL_ConvolutionLayer |MobilenetV1/MobilenetV1/Conv2d_1_pointwise/Relu6 | 1| 1| 1| 2 x x x x x x x | 3 | 1 32 112 112 | 1 64 112 112 | 27295744 |
4|TIDL_ConvolutionLayer |MobilenetV1/MobilenetV1/Conv2d_2_depthwise/Relu6 | 1| 1| 1| 3 x x x x x x x | 4 | 1 64 112 112 | 1 64 56 56 | 2207744 |
5|TIDL_ConvolutionLayer |MobilenetV1/MobilenetV1/Conv2d_2_pointwise/Relu6 | 1| 1| 1| 4 x x x x x x x | 5 | 1 64 56 56 | 1 128 56 56 | 26492928 |
6|TIDL_ConvolutionLayer |MobilenetV1/MobilenetV1/Conv2d_3_depthwise/Relu6 | 1| 1| 1| 5 x x x x x x x | 6 | 1 128 56 56 | 1 128 56 56 | 4415488 |
7|TIDL_ConvolutionLayer |MobilenetV1/MobilenetV1/Conv2d_3_pointwise/Relu6 | 1| 1| 1| 6 x x x x x x x | 7 | 1 128 56 56 | 1 128 56 56 | 52183040 |
8|TIDL_ConvolutionLayer |MobilenetV1/MobilenetV1/Conv2d_4_depthwise/Relu6 | 1| 1| 1| 7 x x x x x x x | 8 | 1 128 56 56 | 1 128 28 28 | 1103872 |
9|TIDL_ConvolutionLayer |MobilenetV1/MobilenetV1/Conv2d_4_pointwise/Relu6 | 1| 1| 1| 8 x x x x x x x | 9 | 1 128 28 28 | 1 256 28 28 | 26091520 |
10|TIDL_ConvolutionLayer |MobilenetV1/MobilenetV1/Conv2d_5_depthwise/Relu6 | 1| 1| 1| 9 x x x x x x x | 10 | 1 256 28 28 | 1 256 28 28 | 2207744 |
11|TIDL_ConvolutionLayer |MobilenetV1/MobilenetV1/Conv2d_5_pointwise/Relu6 | 1| 1| 1| 10 x x x x x x x | 11 | 1 256 28 28 | 1 256 28 28 | 51781632 |
12|TIDL_ConvolutionLayer |MobilenetV1/MobilenetV1/Conv2d_6_depthwise/Relu6 | 1| 1| 1| 11 x x x x x x x | 12 | 1 256 28 28 | 1 256 14 14 | 551936 |
13|TIDL_ConvolutionLayer |MobilenetV1/MobilenetV1/Conv2d_6_pointwise/Relu6 | 1| 1| 1| 12 x x x x x x x | 13 | 1 256 14 14 | 1 512 14 14 | 25890816 |
14|TIDL_ConvolutionLayer |MobilenetV1/MobilenetV1/Conv2d_7_depthwise/Relu6 | 1| 1| 1| 13 x x x x x x x | 14 | 1 512 14 14 | 1 512 14 14 | 1103872 |
15|TIDL_ConvolutionLayer |MobilenetV1/MobilenetV1/Conv2d_7_pointwise/Relu6 | 1| 1| 1| 14 x x x x x x x | 15 | 1 512 14 14 | 1 512 14 14 | 51580928 |
16|TIDL_ConvolutionLayer |MobilenetV1/MobilenetV1/Conv2d_8_depthwise/Relu6 | 1| 1| 1| 15 x x x x x x x | 16 | 1 512 14 14 | 1 512 14 14 | 1103872 |
17|TIDL_ConvolutionLayer |MobilenetV1/MobilenetV1/Conv2d_8_pointwise/Relu6 | 1| 1| 1| 16 x x x x x x x | 17 | 1 512 14 14 | 1 512 14 14 | 51580928 |
18|TIDL_ConvolutionLayer |MobilenetV1/MobilenetV1/Conv2d_9_depthwise/Relu6 | 1| 1| 1| 17 x x x x x x x | 18 | 1 512 14 14 | 1 512 14 14 | 1103872 |
19|TIDL_ConvolutionLayer |MobilenetV1/MobilenetV1/Conv2d_9_pointwise/Relu6 | 1| 1| 1| 18 x x x x x x x | 19 | 1 512 14 14 | 1 512 14 14 | 51580928 |
20|TIDL_ConvolutionLayer |MobilenetV1/MobilenetV1/Conv2d_10_depthwise/Relu6 | 1| 1| 1| 19 x x x x x x x | 20 | 1 512 14 14 | 1 512 14 14 | 1103872 |
21|TIDL_ConvolutionLayer |MobilenetV1/MobilenetV1/Conv2d_10_pointwise/Relu6 | 1| 1| 1| 20 x x x x x x x | 21 | 1 512 14 14 | 1 512 14 14 | 51580928 |
22|TIDL_ConvolutionLayer |MobilenetV1/MobilenetV1/Conv2d_11_depthwise/Relu6 | 1| 1| 1| 21 x x x x x x x | 22 | 1 512 14 14 | 1 512 14 14 | 1103872 |
23|TIDL_ConvolutionLayer |MobilenetV1/MobilenetV1/Conv2d_11_pointwise/Relu6 | 1| 1| 1| 22 x x x x x x x | 23 | 1 512 14 14 | 1 512 14 14 | 51580928 |
24|TIDL_ConvolutionLayer |MobilenetV1/MobilenetV1/Conv2d_12_depthwise/Relu6 | 1| 1| 1| 23 x x x x x x x | 24 | 1 512 14 14 | 1 512 7 7 | 275968 |
25|TIDL_ConvolutionLayer |MobilenetV1/MobilenetV1/Conv2d_12_pointwise/Relu6 | 1| 1| 1| 24 x x x x x x x | 25 | 1 512 7 7 | 1 1024 7 7 | 25790464 |
26|TIDL_ConvolutionLayer |MobilenetV1/MobilenetV1/Conv2d_13_depthwise/Relu6 | 1| 1| 1| 25 x x x x x x x | 26 | 1 1024 7 7 | 1 1024 7 7 | 551936 |
27|TIDL_ConvolutionLayer |MobilenetV1/MobilenetV1/Conv2d_13_pointwise/Relu6 | 1| 1| 1| 26 x x x x x x x | 27 | 1 1024 7 7 | 1 1024 7 7 | 51480576 |
28|TIDL_PoolingLayer |MobilenetV1/Logits/AvgPool_1a/AvgPool | 1| 1| 1| 27 x x x x x x x | 28 | 1 1024 7 7 | 1 1024 1 1 | 50176 |
29|TIDL_ConvolutionLayer |MobilenetV1/Logits/Conv2d_1c_1x1/BiasAdd | 1| 1| 1| 29 x x x x x x x | 30 | 1 1024 1 1 | 1 1001 1 1 | 1026025 |
30|TIDL_FlattenLayer |MobilenetV1/Predictions/Reshape | 1| 1| 1| 30 x x x x x x x | 31 | 1 1001 1 1 | 1 1 1 1001 | 1001 |
31|TIDL_SoftMaxLayer |MobilenetV1/Predictions/Softmax | 1| 1| 1| 31 x x x x x x x | 32 | 1 1 1 1001 | 1 1001 1 1 | 1001 |
32|TIDL_ShapeLayer |MobilenetV1/Predictions/Shape | 1| 1| 1|102 x x x x x x x | 33 | 1 1001 1 1 | 1 1001 1 1 | 1001 |
33|TIDL_ReshapeLayer |MobilenetV1/Predictions/Reshape_1 | 1| 1| 1| 32 x x x x x x x | 34 | 1 1001 1 1 | 1 1001 1 1 | 1001 |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total Giga Macs : 0.5789
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Shape Layer is not supported by TIDL and cannot be merged into any TIDL layer.
Reshape Layer is not supported by TIDL and cannot be merged into any TIDL layer.
Import error: This TensorFlow model has operators that are supported by TIDL only if they can be merged with TIDL layers. But these operators cannot be merged with any TIDL layer.
Please check TIDL User's Guide for supported TensorFlow operators.
TIDL import failed. Please check error messages.
mobilenet_v1_import_model.txt randParams = 0
modelType = 1
quantizationStyle = 1
quantRoundAdd = 50
numParamBits = 8
preProcType = 0
inElementType = 1
inQuantFactor = -1
rawSampleInData = 0
numSampleInData = 1
foldBnInConv2D = 1
inWidth = 224
inHeight = 224
inNumChannels = 3
sampleInData = C:\PROCESSOR_SDK_VISION_03_08_00_00\ti_components\algorithms\REL.TIDL.01.02.00.00\modules\ti_dl\test\testvecs\input\airshow.jpg
tidlStatsTool = C:\PROCESSOR_SDK_VISION_03_08_00_00\ti_components\algorithms\REL.TIDL.01.02.00.00\modules\ti_dl\utils\quantStatsTool\eve_test_dl_algo.out.exe
inputNetFile = C:\Users\Love\Downloads\mobilenet_v1_1.0_224\mobilenet_v1_1.0_224_frozen.pb
inputParamsFile = C:\Users\Love\Downloads\mobilenet_v1_1.0_224\mobilenet_v1_1.0_224_frozen.pb
outputNetFile = C:\Users\Love\Downloads\mobilenet_v1_1.0_224\tidl_net_output.bin
outputParamsFile = C:\Users\Love\Downloads\mobilenet_v1_1.0_224\tidl_params_output.bin
Responses:
Hi, As stated in section 3.6.5 Importing Tensorflow Models in the userguide, TIDL only accepts optimized frozen graphs. So could you please optimize your graph using "optimize_for_inference.py" and then try importing? Thanks, Praveen