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

Augmentation settings on CIFAR10/100 #2

Closed
lkhl opened this issue Dec 10, 2021 · 2 comments
Closed

Augmentation settings on CIFAR10/100 #2

lkhl opened this issue Dec 10, 2021 · 2 comments

Comments

@lkhl
Copy link

lkhl commented Dec 10, 2021

Hi, thank you so much for sharing this excellent work.

I have some confusion about the experimental setup of CIFAR10/100. Commonly used augmentation settings are random cropping and padding=4, and the input image resolution is 32x32. But this setting does not seem to be able to get the output resolution of 7x7 as described in the paper when using SwinT. So could you please tell me the detailed augmentation settings you used on CIFAR10/100, and whether there are any changes to the network structure of original VTs.

Thanks again.

@yhlleo
Copy link
Owner

yhlleo commented Dec 11, 2021

Hi @lkhl , for the CIFAR10/100, we load the data in this manner: here. Then, all of the datasets use a shared transformation. So, the input 32x32 images in CIFAR are also resized to 224x224. That's why we can get the output resolution 7x7 without changing anything of the original network architecture.

@yhlleo yhlleo closed this as completed Dec 11, 2021
@lkhl
Copy link
Author

lkhl commented Dec 11, 2021

Understood, thanks for your reply.

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