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

size mismatch for blocks.0.attn.relative_position_bias_table: copying a param with shape torch.Size([732, 12]) from checkpoint, the shape in current model is torch.Size([3972, 12]). #189

Open
yfhdm opened this issue Nov 26, 2024 · 0 comments

Comments

@yfhdm
Copy link

yfhdm commented Nov 26, 2024

Hi! For the Beit pre-trained model with the input size of 224x224, I meet this problem when use_rel_pos_bias=True when using the input 512x512. Can you help me solve this problem?

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