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

Using vision transformers for different image resolutions #280

Open
Oussamab21 opened this issue Sep 24, 2023 · 1 comment
Open

Using vision transformers for different image resolutions #280

Oussamab21 opened this issue Sep 24, 2023 · 1 comment

Comments

@Oussamab21
Copy link

Hi, I ma working on using vision transformers not only the vanilla ViT, but different models on UMDAA2 data set, this data set has an image resolution of 128*128 would it be better to transform the images into the vit desired resolution like 224 or 256 or it is better to keep the 128 and try to update the other vision transformer parameters to this resolution like the dim,depth,heads ?

@lucidrains
Copy link
Owner

@Oussamab21 you can keep the 128, but can lower the patch size to have more patch tokens

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