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

Issue about the interpolated weights of patch embeding when swiching the patch size #68

Open
ShileiCao opened this issue Feb 15, 2025 · 1 comment

Comments

@ShileiCao
Copy link

How should we scale the interpolated weights of patch embeding e.g., when decreasing patch size from 4 to 2?

@wesselb
Copy link
Contributor

wesselb commented Mar 5, 2025

Hey @ShileiCao! If you change the patch size, you will need to fine-tune the model for a little bit to allow the model to adapt to the new patch size. Just changing the patch size and interpolating the weights of the patch embedding will not give performant predictions.

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