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

How to load pretrained EVA-02 model if the input size is 512x512 instead of 256x256? #172

Open
yfhdm opened this issue Dec 2, 2024 · 0 comments

Comments

@yfhdm
Copy link

yfhdm commented Dec 2, 2024

size mismatch for rope.freqs_cos: copying a param with shape torch.Size([16, 16, 64]) from checkpoint, the shape in current model is torch.Size([32, 32, 64]).
size mismatch for rope.freqs_sin: copying a param with shape torch.Size([16, 16, 64]) from checkpoint, the shape in current model is torch.Size([32, 32, 64]).
size mismatch for blocks.0.attn.rope.freqs_cos: copying a param with shape torch.Size([16, 16, 64]) from checkpoint, the shape in current model is torch.Size([32, 32, 64]).
size mismatch for blocks.0.attn.rope.freqs_sin: copying a param with shape torch.Size([16, 16, 64]) from checkpoint, the shape in current model is torch.Size([32, 32, 64]).
size mismatch for blocks.1.attn.rope.freqs_cos: copying a param with shape torch.Size([16, 16, 64]) from checkpoint, the shape in current model is torch.Size([32, 32, 64]).
size mismatch for blocks.1.attn.rope.freqs_sin: copying a param with shape torch.Size([16, 16, 64]) from checkpoint, the shape in current model is torch.Size([32, 32, 64]).
size mismatch for blocks.2.attn.rope.freqs_cos: copying a param with shape torch.Size([16, 16, 64]) from checkpoint, the shape in current model is torch.Size([32, 32, 64]).
size mismatch for blocks.2.attn.rope.freqs_sin: copying a param with shape torch.Size([16, 16, 64]) from checkpoint, the shape in current model is torch.Size([32, 32, 64]).
size mismatch for blocks.3.attn.rope.freqs_cos: copying a param with shape torch.Size([16, 16, 64]) from checkpoint, the shape in current model is torch.Size([32, 32, 64]).
size mismatch for blocks.3.attn.rope.freqs_sin: copying a param with shape torch.Size([16, 16, 64]) from checkpoint, the shape in current model is torch.Size([32, 32, 64]).
size mismatch for blocks.4.attn.rope.freqs_cos: copying a param with shape torch.Size([16, 16, 64]) from checkpoint, the shape in current model is torch.Size([32, 32, 64]).
size mismatch for blocks.4.attn.rope.freqs_sin: copying a param with shape torch.Size([16, 16, 64]) from checkpoint, the shape in current model is torch.Size([32, 32, 64]).
size mismatch for blocks.5.attn.rope.freqs_cos: copying a param with shape torch.Size([16, 16, 64]) from checkpoint, the shape in current model is torch.Size([32, 32, 64]).
size mismatch for blocks.5.attn.rope.freqs_sin: copying a param with shape torch.Size([16, 16, 64]) from checkpoint, the shape in current model is torch.Size([32, 32, 64]).
size mismatch for blocks.6.attn.rope.freqs_cos: copying a param with shape torch.Size([16, 16, 64]) from checkpoint, the shape in current model is torch.Size([32, 32, 64]).
size mismatch for blocks.6.attn.rope.freqs_sin: copying a param with shape torch.Size([16, 16, 64]) from checkpoint, the shape in current model is torch.Size([32, 32, 64]).
size mismatch for blocks.7.attn.rope.freqs_cos: copying a param with shape torch.Size([16, 16, 64]) from checkpoint, the shape in current model is torch.Size([32, 32, 64]).
size mismatch for blocks.7.attn.rope.freqs_sin: copying a param with shape torch.Size([16, 16, 64]) from checkpoint, the shape in current model is torch.Size([32, 32, 64]).
size mismatch for blocks.8.attn.rope.freqs_cos: copying a param with shape torch.Size([16, 16, 64]) from checkpoint, the shape in current model is torch.Size([32, 32, 64]).
size mismatch for blocks.8.attn.rope.freqs_sin: copying a param with shape torch.Size([16, 16, 64]) from checkpoint, the shape in current model is torch.Size([32, 32, 64]).
size mismatch for blocks.9.attn.rope.freqs_cos: copying a param with shape torch.Size([16, 16, 64]) from checkpoint, the shape in current model is torch.Size([32, 32, 64]).
size mismatch for blocks.9.attn.rope.freqs_sin: copying a param with shape torch.Size([16, 16, 64]) from checkpoint, the shape in current model is torch.Size([32, 32, 64]).
size mismatch for blocks.10.attn.rope.freqs_cos: copying a param with shape torch.Size([16, 16, 64]) from checkpoint, the shape in current model is torch.Size([32, 32, 64]).
size mismatch for blocks.10.attn.rope.freqs_sin: copying a param with shape torch.Size([16, 16, 64]) from checkpoint, the shape in current model is torch.Size([32, 32, 64]).
size mismatch for blocks.11.attn.rope.freqs_cos: copying a param with shape torch.Size([16, 16, 64]) from checkpoint, the shape in current model is torch.Size([32, 32, 64]).
size mismatch for blocks.11.attn.rope.freqs_sin: copying a param with shape torch.Size([16, 16, 64]) from checkpoint, the shape in current model is torch.Size([32, 32, 64]).
size mismatch for blocks.12.attn.rope.freqs_cos: copying a param with shape torch.Size([16, 16, 64]) from checkpoint, the shape in current model is torch.Size([32, 32, 64]).
size mismatch for blocks.12.attn.rope.freqs_sin: copying a param with shape torch.Size([16, 16, 64]) from checkpoint, the shape in current model is torch.Size([32, 32, 64]).
size mismatch for blocks.13.attn.rope.freqs_cos: copying a param with shape torch.Size([16, 16, 64]) from checkpoint, the shape in current model is torch.Size([32, 32, 64]).
size mismatch for blocks.13.attn.rope.freqs_sin: copying a param with shape torch.Size([16, 16, 64]) from checkpoint, the shape in current model is torch.Size([32, 32, 64]).
size mismatch for blocks.14.attn.rope.freqs_cos: copying a param with shape torch.Size([16, 16, 64]) from checkpoint, the shape in current model is torch.Size([32, 32, 64]).
size mismatch for blocks.14.attn.rope.freqs_sin: copying a param with shape torch.Size([16, 16, 64]) from checkpoint, the shape in current model is torch.Size([32, 32, 64]).
size mismatch for blocks.15.attn.rope.freqs_cos: copying a param with shape torch.Size([16, 16, 64]) from checkpoint, the shape in current model is torch.Size([32, 32, 64]).
size mismatch for blocks.15.attn.rope.freqs_sin: copying a param with shape torch.Size([16, 16, 64]) from checkpoint, the shape in current model is torch.Size([32, 32, 64]).
size mismatch for blocks.16.attn.rope.freqs_cos: copying a param with shape torch.Size([16, 16, 64]) from checkpoint, the shape in current model is torch.Size([32, 32, 64]).
size mismatch for blocks.16.attn.rope.freqs_sin: copying a param with shape torch.Size([16, 16, 64]) from checkpoint, the shape in current model is torch.Size([32, 32, 64]).
size mismatch for blocks.17.attn.rope.freqs_cos: copying a param with shape torch.Size([16, 16, 64]) from checkpoint, the shape in current model is torch.Size([32, 32, 64]).
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