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

Resize the pos_embed shape from torch.Size([1, 197, 768]) to torch.Size([1, 1025, 768]) #3774

Open
whikwon opened this issue Sep 20, 2024 · 0 comments

Comments

@whikwon
Copy link

whikwon commented Sep 20, 2024

When i trained vit_vit-b16_mln_upernet_8xb2-80k_cag-512x512.py with pretrained checpoint "pretrain/jx_vit_base_p16_224-80ecf9dd.pth" i got the warning "Resize the pos_embed shape from torch.Size([1, 197, 768]) to torch.Size([1, 1025, 768])".

Is it okay to ignore this warning?
Thank you in advance!

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