LQ-Nets
LQ-Nets copied to clipboard
How to quantize weights only on Imagenet?
I wanted to quantize weights only. Should 'qa' be set equal to 0/32? Thanks
You could set 'qa' to 0 to train a cifar10 model with weight quantization only. But we didn't provide the interface to quantize weight only for ImageNet. If you want, you should change related codes in learned_quantization.py
Thanks for your reply!
In cifar10-vgg-small.py- if 'qa'=0 then you do not use 'QuantizedActiv' function. Does this imply that if 'QuantizedActiv' function is an identity function; Imagenet.py will perform weight quantization only?
Thanks!