doonny / PipeCNN

An OpenCL-based FPGA Accelerator for Convolutional Neural Networks
Apache License 2.0
1.22k stars 369 forks source link

Need information about quantization #118

Open hamsikamahale opened 4 years ago

hamsikamahale commented 4 years ago

Hi doonny, I was working on weight quintization method for AlexNet. I followed the Matlab script that you have explained in the README file. I downloaded the bvlc_reference_caffenet.caffemodel and bvlc_reference_caffenet/deploy.prototxt file from the links you have provided in the read me. But while comparing weights.dat file generated by you and file generated by the Matlab code written by me are not matching. Please help me in the issue. After doing it for AlexNet, I need to have quantized weight data for ResNet50. Will you please explain how to create WeightWidth and WeightFrac for ResNet50?