Skip to content

quantVGG16 model for input size(1,3,224,224) #23

@simplelins

Description

@simplelins

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:

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions