Skip to content

about augmentation setting #4

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

Open
jcy132 opened this issue Dec 20, 2022 · 2 comments
Open

about augmentation setting #4

jcy132 opened this issue Dec 20, 2022 · 2 comments

Comments

@jcy132
Copy link

jcy132 commented Dec 20, 2022

  1. Any reason for changing the augmentation setting from the original code?
    (for example in imagenet-R, crop range(0.08, 1.0) instead of (0.05, 1.0) in original code )

  2. In the implemented code, same augmentation is applied for cifar100 and imagenet-R for train, which is different with origianl code.
    Maybe the bug?

@jcy132 jcy132 closed this as not planned Won't fix, can't repro, duplicate, stale Dec 20, 2022
@jcy132 jcy132 reopened this Dec 20, 2022
@jcy132 jcy132 closed this as completed Dec 20, 2022
@jcy132 jcy132 reopened this Dec 20, 2022
@JH-LEE-KR
Copy link
Owner

Hi,
thanks for your comment.

  1. It is my mistake.
    I failed to check the value of the original code and used the default value of torchvision.transforms.RandomResizedCrop.
    I'll modify this part.

  2. What is the difference? It is the same as I understand it.
    Both CIFAR-100 and ImageNet-R use preprocess.train_preprocess for train augmentation.
    Let me know if you find anything the difference between them.

Best,
Jaeho Lee.

@gqk
Copy link

gqk commented Feb 6, 2023

Hi, Jaeho,

I found the inference interpolation algorithm is different from the Jax code. The performance on CIFAR100 drops about 1.5% when changing it from BICUBIC to BILINEAR (i.e., 3 -> 2). What about the results on your machine?

transforms.Resize(size, interpolation=3), # to maintain same ratio w.r.t. 224 images

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

3 participants