Other Parts Discussed in Thread: TDA2
VSDK version: 3.8
TIDL version: 01.02
Hello! I'm trying to import a simple ONNX model and I'm running into the following problem:
=============================== TIDL import - parsing ===============================
ONNX Model (Proto) File: test_import/conv1_3chanel_pth.onnx
TIDL Network File : test_import/conv1_model.bin
TIDL Params File : test_import/tidl_io_conv1_model_.bin
Num of Layer Detected : 2
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Num|TIDL Layer Name |Out Data Name |Group |#Ins |#Outs |Inbuf Ids |Outbuf Id |In NCHW |Out NCHW |MACS |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
0|TIDL_DataLayer |input.1 | 0| -1| 1| x x x x x x x x | 0 | 0 0 0 0 | 1 3 128 64 | 0 |
1|TIDL_ConvolutionLayer |4 | 1| 1| 1| 0 x x x x x x x | 1 | 1 3 128 64 | 1 32 126 62 | 6999552 |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total Giga Macs : 0.0070
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
=============================== TIDL import - calibration ===============================
Processing config file .\tempDir\qunat_stats_config.txt !
Running TIDL simulation for calibration.
Could Not Open Files .\tempDir\temp_net.bin
Processing Frame Number : 0
Max values is -128 at index 0, width = 0, height = 0
Could Not Open Files .\tempDir\temp_net.bin
End of config list found !
The temp_net.bin file is simply missing and it is not clear how to get it.
My import cfg.txt:
modelType = 2
numParamBits = 12
quantizationStyle = 0
inputNetFile = "test_import/conv1_3chanel_pth.onnx"
outputNetFile = "test_import/conv1_model.bin"
outputParamsFile = "test_import/tidl_io_conv1_model_.bin"
inDataNorm = 1
inMean = 128
inScale = 0.0078125
inWidth = 64
inHeight = 128
inNumChannels = 3
sampleInData = "test_import/test_img.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"
postProcType = 0
