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

请问如何下载vit_b_16.pth文件 #5

Open
ji0929 opened this issue Nov 20, 2024 · 0 comments
Open

请问如何下载vit_b_16.pth文件 #5

ji0929 opened this issue Nov 20, 2024 · 0 comments

Comments

@ji0929
Copy link

ji0929 commented Nov 20, 2024

曾尝试下载timmgoogle的model.bin文件,并改名为vit_b_16.pth,放入对应文件夹。运行main.py文件,报错RuntimeError: Error(s) in loading state_dict for VisionTransformer: Missing key(s) in state_dict。
那么我该如何下载正确的vit_b_16.pth文件呢?

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

1 participant