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

KeyError: 'embedding/kernel is not a file in the archive' #300

Open
susong521 opened this issue Mar 10, 2024 · 1 comment
Open

KeyError: 'embedding/kernel is not a file in the archive' #300

susong521 opened this issue Mar 10, 2024 · 1 comment

Comments

@susong521
Copy link

susong521 commented Mar 10, 2024

I encountered this issue when I was loading the pretrained weights from timm. The weights were downloaded from huggingface.co. Specifically,self.image_model = timm.create_model("vit_base_patch32_224", pretrained=True,pretrained_cfg_overlay=dict( file='vit-base-patch32-224/pytorch_model.bin'))
How can fix it? I will appreciate it if you can solve this problem.

@yangyuwenyang
Copy link

I meet this problem, too

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