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

Input size in pre-trained and paper #16

Open
EoinKenny opened this issue Apr 18, 2022 · 1 comment
Open

Input size in pre-trained and paper #16

EoinKenny opened this issue Apr 18, 2022 · 1 comment

Comments

@EoinKenny
Copy link

Hi, thanks a lot for the excellent repo!

A small question. The input size on the pre-trained models ( https://github.com/Alibaba-MIIL/ImageNet21K/blob/main/MODEL_ZOO.md) is 224x224, but your paper seems to use 384x384?

Am I missing anything? Thank you

@chou141253
Copy link
Owner

We use swin-transformer pretrained model which named 'swin_large_patch4_window12_384_in22k'. And Vit model using 'vit_base_patch16_224_miil_in21k' as pretrained model, which use 224x224 as input size, but we expand position encoding parameters to fit 448x448.

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