APoT_Quantization
APoT_Quantization copied to clipboard
Differences between quant_layer.py
Thanks for your nice work and codes!
I found that files quant_layer.py in CIFAR10 and ImageNet are different. Can you please tell me why there exit two versions? BTW, I plan to utilize quantlize MobileNet V2. Which version is better for migration? Thank you.
Hi,
quant_layer.py in CIFAR10 is odder one. You are supposed to use ImageNet folder. BTW, if you correctly migrate our code to MobileNetV2, you could merge to this branch!
Thanks.
Thanks for your reply. I'll try~
Hi,
quant_layer.py in CIFAR10 is odder one. You are supposed to use ImageNet folder. BTW, if you correctly migrate our code to MobileNetV2, you could merge to this branch!
Thanks.
Hi,
I noticed that the difference between quant_layer.py is that the CIFAR10 one has backward path in the self-defined Pytorch function, but the ImageNet one doesn't. Does this mean that the Pytorch is strong enough to self-compute the backward gradient of RCF?
Thank you very much!
yes, you are right.
Thank you for your reply!