SOPHON SDK关于模型量化工具 calibration_use_pb 指定校准参数的问题
calibration_use_pb 这个工具和校准相关的参数
-accuracy_opt
-per_channel
-th_method
相关问题
1. 这三个参数是互斥的存在,还是可以组合使用?
可以组合使用,accuracy_opt针对depthwise的卷积,如果没有depthwise可以不选,跟th_method不冲突。
2. per_channel 这个参数指定成 true 之后,还需要其他的参数配合吗? 比如: first_conv_enable_per_channel
per_channel可以单独使用。
3. th_method 这个参数可以同时指定多个吗? 比如同时指定:-th_method=SYMKL, -th_method=JSD
th_method一次只能指定一种。