Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RuntimeError: Given groups=1, weight of size [15, 14, 1, 1], expected input[64, 16, 32, 32] to have 14 channels, but got 16 channels instead #79

Open
lovegit2021 opened this issue Dec 8, 2021 · 1 comment

Comments

@lovegit2021
Copy link

您好,我按照作者的流程跑resnet164的剪枝,在finetune的时候出现剪枝模型和网络结构加载不上的情况,如下报错:RuntimeError: Given groups=1, weight of size [15, 14, 1, 1], expected input[64, 16, 32, 32] to have 14 channels, but got 16 channels instead。请问是什么原因啊?

@okkkkkkkkkkkkk
Copy link

您好,请问您的这个问题解决了吗,我也遇到了类似的问题,可以给我点建议吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants