YOLOv3-complete-pruning icon indicating copy to clipboard operation
YOLOv3-complete-pruning copied to clipboard

量化后模型参数文件大小并没有变化

Open StrugglingForBetter opened this issue 3 years ago • 1 comments

@coldlarry @PiseyYou

通过修改models.py中的W_bit和A_bit, 设置为8, 但是用下面的指令训练后,得到的模型参数文件大小并没有发生变化

python3 train.py --data data/oxfordhand.data --batch-size 32 --accumulate 1 --weights weights/yolov3.weights --cfg cfg/yolov3-quantize-hand.cfg

按道理量化后模型会变小,请问如何将flot32的模型转换成int8 的模型?

StrugglingForBetter avatar Feb 06 '22 09:02 StrugglingForBetter

请问你解决了吗,我运行之后还是float32的,怎么解决呢

smboj avatar Jun 12 '24 10:06 smboj