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

predict.py Error(s) in loading state_dict for #4

Open
ZCyueternal opened this issue May 9, 2023 · 7 comments
Open

predict.py Error(s) in loading state_dict for #4

ZCyueternal opened this issue May 9, 2023 · 7 comments

Comments

@ZCyueternal
Copy link

sizemismatch for ...

@bubbliiiing
Copy link
Owner

看看截图

@coreABc
Copy link

coreABc commented May 29, 2023

我也遇到了同样的问题
image
image
image

@coreABc
Copy link

coreABc commented May 29, 2023

大佬请问怎么解决

@coreABc
Copy link

coreABc commented May 31, 2023

我解决这个问题了,问题吃的产生是因为在训练是的模型类型选择和测试时的模型选择不匹配

@bubbliiiing
Copy link
Owner

OK

@gtxy-Djx
Copy link

我也出现了这个问题,如何用自己训练的权重

@gtxy-Djx
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

4 participants