Skip to content

RuntimeError due to model structure mismatch in 03.qvgg7_cifar10.ipynb (Quantization + Pruning) #11

Description

@wuming0312

When I run the 03.qvgg7_cifar10.ipynb file in the tutorial, a RuntimeError prompts: Given groups=1, weight of size [31, 128, 3, 3], expected input[1, 3, 16, 16] to have 128 channels, but got 3 channels instead. This might be due to the incorrect handling of the dependencies of the quantized model, resulting in a mismatch in the model structure after pruning. How should this be resolved and fixed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions