ncnn fp32toint8,精度损失这么大?

cvxl0en2  于 4个月前  发布在  其他
关注(0)|答案(3)|浏览(35)

nzk0hqpo

nzk0hqpo1#

can you provide the detail of your ncnn2table result? @2684160504

nlejzf6q

nlejzf6q2#

can you provide the detail of your ncnn2table result? @2684160504
Hello teacher, this is a table file.
链接: https://pan.baidu.com/s/18xSq1RGEEV3gVwkJD6fqQA
提取码:enmt
./ncnn2table --param=mobilenet-nobn-fp32.param --bin=mobilenet-nobn-fp32.bin --images=images/ --output=mobilenet-nobn.table --mean=104,117,123 --norm=0.017,0.017,0.017 --size=224,224 --thread=2
There are several questions about the conversion command, I hope you can answer:

  1. What is the value of mean and norm?
  2. Is size the size of the network input or the size of the read image?
pinkon5k

pinkon5k3#

@2684160504

  1. the mean and norm DO NOT affect the final result。
  2. this size is ok,but the target size you will use is the best.

can you test the difference(L1) between int8 result and float32 result.

相关问题