Two-Step Quantization on AlexNet This is a demo of Two-Step Quantization. Usage: Copy source files into caffe's directories and then build caffe. Download model. ./build/tools/caffe test -model test_2_ternary.prototxt -weights caffe_2_ternary.caffemodel -iterations 1000 -gpu 0