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

权重和模型匹配不上 #8

Open
RC-Qiao opened this issue Nov 12, 2022 · 1 comment
Open

权重和模型匹配不上 #8

RC-Qiao opened this issue Nov 12, 2022 · 1 comment

Comments

@RC-Qiao
Copy link

RC-Qiao commented Nov 12, 2022

权重有swin_2,你代码里没有啊,请你检查一下

@lele53543
Copy link
Collaborator

权重中的swin_2仅被定义但是无论是测试还是训练中都没有被使用,因此对结果没有影响,如果载入模型的时候报错,请检查在torch.load()函数中设置strict为False.

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