self.classifier = nn.Sequential(
make_quant_linear(512 * 7 * 7, 4096, bias=True, bit_width=bit_width),
make_quant_relu(bit_width),
nn.Dropout(),
make_quant_linear(4096, 4096, bias=True, bit_width=bit_width),
make_quant_relu(bit_width),
nn.Dropout(),
make_quant_linear(4096, num_classes, bias=False, bit_width=bit_width,
weight_scaling_per_output_channel=False),
)
I also tried with your code for mnist, it will be quickly up to 100% acc!
thanks!
Hi,
I try to train the model quantvgg16 with the dataset ILSVRC2012 , but can not get a Convergent model. did you have a try ?
for the dataset ILSVRC2012, the classifier is as below: