主题中讨论的其他器件:TDA2
VSDK 版本:3.8.
TIDL 版本:01.02
您好! 我正在尝试导入一 个简单的 ONNX 模型、并且遇到了以下问题:
=================================================== TIDL 导入-解析================================================
ONNX 模型(Proto)文件:test_import/CNV1_3chanel_pth.onnx
TIDL 网络文件:test_import/conv1_model.bin
TIDL 参数文件:test_import/tidl_io_conv1_model_.bin
检测到的层数:2.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Num|TIDL 层名称|OUT 数据名称|GROUP |#INS |#OUTS |Inbuf ID |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 | 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|
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
千兆麦:0.0070
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
=================================================== TIDL 导入-校准=================================================
正在处理配置文件.\tempDir\qunat_stats_config.txt!
运行 TIDL 仿真进行校准。
无法打开文件.\tempDir\temp_net.bin
正在处理帧编号:0
索引0、宽度= 0、高度= 0时的最大值为-128
无法打开文件.\tempDir\temp_net.bin
找到配置列表的末尾!
temp_net.bin 文件完全丢失、不清楚如何获取。
我 的导入 cfg.txt:
modelType = 2.
numParamBits = 12
量化样式= 0
inputNetFile ="test_import/CNV1_3chanel_pth.onnx"
outputNetFile ="test_import/CNV1_model.bin"
outputParamsFile ="test_import/tidl_io_CONV1_model_.bin"
inDataNorm = 1.
in均 值= 128
缩放比例= 0.0078125
InWidth = 64
InHeight = 128
inNumChannels = 3
samplpleInData ="test_import/test_img.jpg"
tidlStatsTool ="C:/processor_sdk_vision_03_08_00_00/ti_compons/Algorithms/REL.TIDL.01.02.00.00/modules/ti_dl/utils/quantStatsTool/eve_test_dl_algo out.exe"
PostProcType = 0