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

Evaluations on different resolutions #15

Open
Yeez-lee opened this issue Dec 18, 2024 · 1 comment
Open

Evaluations on different resolutions #15

Yeez-lee opened this issue Dec 18, 2024 · 1 comment

Comments

@Yeez-lee
Copy link

Hi,

Thanks for an interesting idea.

  1. I want to double-check evaluations on different resolutions.
    As you mentioned, I just need to replace img_size=256 from vit_rope.rope_mixed_deit_small_patch16_LS(pretrained=True, img_size=256) to others like img_size=192 or img_size=512 so that ViT can receive images of 192 or 512.
    And then --input-size 224 is changed to --input-size 192 or --input-size 512 on evaluation command lines so that the test dataset is interpolated to img_size=192 or img_size=512 without other efforts . Are these correct?

  2. What does LS mean in deit_small_patch16_LS?

@bhheo
Copy link
Collaborator

bhheo commented Dec 18, 2024

Hi

Thank you for your interest in our study

  1. Yes. You are correct.
    ViT model loaded with image_size=512 can receive images of 512x512.
    I also did a similar thing to deit evaluation code. So, you can do test with other interpolated resolution with --input-size 512 args.

  2. LS means LayerScale, which is added to deit at deit-iii paper.
    You can find the same naming rule here.
    https://github.com/facebookresearch/deit/blob/main/README_revenge.md

If you have any further questions, please let me know

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