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

Weight size mismatch between the pretrained model and the model defined in the code!预训练模型和代码中的模型参数尺寸不匹配 #8

Closed
chenhao12 opened this issue Mar 25, 2022 · 1 comment

Comments

@chenhao12
Copy link

size mismatch for features.denseblock_1.denselayer_1.conv_1.conv.weight: copying a param with shape torch.Size([32, 2, 1, 1]) from checkpoint, the shape in current model is torch.Size([32, 16, 1, 1]).

@jianghaojun
Copy link
Owner

Could you please provide more informations, such as which model and which code file you used?

@jianghaojun jianghaojun changed the title 预训练模型和代码中的模型参数尺寸不匹配 Weight size mismatch between the pretrained model and the model defined in the code!预训练模型和代码中的模型参数尺寸不匹配 Apr 14, 2022
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