TI中文支持网
TI专业的中文技术问题咨询交流网站

TDA4VM: PSDK TIDL8.1:demo model pelee 浮点模式numParamBits=32 inference没有检测到目标

Part Number:TDA4VM

Hi, TIers,

基于TIDL demo model pelee && host emulation, 采用如下配置进行定点模式numParamBits=8的import and inference,能够得到正确的检测结果,但改为浮点模式 numParamBits=32 import and inference, 没有检测到目标,结果为全0. 配置如下(1)(2), 另外,浮点模式import有一个warning 如(3).

麻烦帮忙分析下原因,谢谢!

(1)  import config file 

modelType          = 0
numParamBits = 8
inputNetFile       = "../../test/testvecs/models/public/caffe/peele/pelee_voc/deploy.prototxt"
inputParamsFile    = "../../test/testvecs/models/public/caffe/peele/pelee_voc/pelee_304x304_acc7094.caffemodel"
outputNetFile      = "../../test/testvecs/config/tidl_models/caffe/tidl_net_peele_300.bin"
outputParamsFile   = "../../test/testvecs/config/tidl_models/caffe/tidl_io_peele_300_"
inDataNorm  = 1
inMean = 104 117 123
inScale = 0.0170000009239 0.0170000009239 0.0170000009239
inDataFormat = 0
inData  =   "../../test/testvecs/config/detection_list.txt"
postProcType = 2
perfSimConfig = ../../test/testvecs/config/import/device_config.cfg
inWidth  = 1024
inHeight = 512
inNumChannels = 3
foldMaxPoolInConv2D = 0
foldPreBnConv2D = 0

(2) inference config file

inFileFormat    = 2
postProcType = 2
#numFrames   = 272
numFrames   = 1
netBinFile      = "testvecs/config/tidl_models/caffe/tidl_net_peele_300.bin"
ioConfigFile    = "testvecs/config/tidl_models/caffe/tidl_io_peele_300_1.bin"
outData =   "testvecs/output/pelee.bin"
inData  =   "testvecs/config/detection_list.txt"
debugTraceLevel = 2
writeTraceLevel = 1
reservedCtrl = 2

(3) warning in float mode import

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.

Cherry Zhou:

您好,我们已收到您的问题并升级到英文论坛寻求帮助,链接如下,如有答复将尽快回复您。谢谢!

e2e.ti.com/…/tda4vm-psdk-tidl8-1-demo-model-pelee-floating-point-mode-numparambits-32-infference-don-t-detect-the-target

,

Moore Ren:

Thanks for your help, Cherry.

Maybe I found some clues from source code.

sysMems[TIDL_SYSMEM_L2_SCRATCH] is limited to a small value, that results in algDetLyrParams->topMAllClasses is -16, so the detection is actually skipped and nothing is detected.
But I didn't find why algHandle->intAlgHandle->sysMems is limited to a small value.

,

Cherry Zhou:

Hi,

We have forwarded your info to the expert, and will get back to you soon. Thanks.

,

Cherry Zhou:

Hi,

We fixed one bug which seems related to this issue in SDK 8.2. Can you try this network with the same?

Thanks and regards,

Cherry

赞(0)
未经允许不得转载:TI中文支持网 » TDA4VM: PSDK TIDL8.1:demo model pelee 浮点模式numParamBits=32 inference没有检测到目标
分享到: 更多 (0)