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

Training metric depth problem #210

Open
a1400214194 opened this issue Jul 1, 2024 · 1 comment
Open

Training metric depth problem #210

a1400214194 opened this issue Jul 1, 2024 · 1 comment

Comments

@a1400214194
Copy link

@LiheYoung hellp, when I want to run train_momo.py, I met some questions
like Missing key(s) in state_dict: "core.core.pretrained.cls_token", "core.core.pretrained.pos_embed", "core.core.pretrained.mask_token", "core.core.pretrained.patch_embed.proj.weight", "core.core.pretrained.patch_embed.proj.bias", "core.core.pretrained.blocks.0.norm1.weight", "core.core.pretrained.blocks.0.norm1.bias"...
Unexpected key(s) in state_dict: "pretrained.cls_token", "pretrained.pos_embed", "pretrained.mask_token", "pretrained.patch_embed.proj.weight", "pretrained.patch_embed.proj.bias", "pretrained.blocks.0.norm1.weight", "pretrained.blocks.0.norm1.bias", "pretrained.blocks.0.attn.qkv.weight", "pretrained.blocks.0.attn.qkv.bias", "pretrained.blocks.0.attn.proj.weight", "pretrained.blocks.0.attn.proj.bias", "pretrained.blocks.0.ls1.gamma", "pretrained.blocks.0.norm2.weight", "pretrained.blocks.0.norm2.bias"...
It comes like "can't load the pretrain files and models ",how to do it?

@theoOmathimatikos
Copy link

There is probably a mismatch between the expected model architecture and the given one.

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