您好!
我正在使用 TIDL,并尝试在 Caffe-Jacinto-models 中使用 imagenet 分类模型。
我使用 TIDL 模型导入工具并获取结果。
输入 rawsample 数据是文件夹:\..\test\testvecs\input\preproc_0_224x224.y 中的数据 ,它是一种飞行器
但 TIDLstatsTool 的输出与我在 Caffe-Jacinto 上运行相同模型的输出不同(Caffe Jacinto 的输出为# 403类)
但 statsTool 的输出为#704类(我打开 stats_tool_out.bin 以获得该结果)
这是我的 TIDL 模型导入工具 CONFIG_FILES。
----------------------------------------------------
#默认值- 0
randParams = 0
# 0:Caffe、1:TensorFlow、默认值- 0
modelType = 0
# 0:按 tarininng Framework 进行固定量化、1:按 TIDL 进行动态量化、默认值- 1.
量化样式= 1.
将在舍入为整数时添加# quantRoundadd/100,默认值为-50
quantRoundAdd = 50
numParamBits = 8
#inNumChannels = 3.
Cnov2dKernelType = 0
InputNetFile ="..\..\testvecs\config\Caffe_Jacinto_models\trained\image_classification \imagenet_jacintonet11v2\稀 疏\deploy.prototxt"
inputParamsFile ="...\test\testvecs\config\Caffe_Jacinto_models\trained\image_classit\imagenet_jacintonet11v2\稀 疏\imagenet_jacintonet_iter_160000.caffemodel"
outputNetFile ="NET.bin"
outputParamsFile ="PRM.bin"
rawSampleInData = 1.
#sampleInData ="...\test\testvecs\input\000100_1024x512_BGR.y"
sampleInData ="...\test\testvecs\input\preproc_0_224x224.y"
tidlStatsTool =".\quantStatsTool\eve_test_dl_algo。out.exe"
------------------------------------------------------------------
我还测试了分割模型、但结果似乎也不正确。
我错过了什么吗?
或者、我应该怎么做才能获得相同的结果?
提前感谢您。
