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

Influence of the color jittering parameters #1

Closed
PkuRainBow opened this issue Oct 27, 2020 · 2 comments
Closed

Influence of the color jittering parameters #1

PkuRainBow opened this issue Oct 27, 2020 · 2 comments

Comments

@PkuRainBow
Copy link

Great work! We find that you apply only the color jittering augmentation as the strong augmentation. So we are very interested in the influence of the choice of the color jittering parameters.

For example, the default setting in the release code is,

brightness = 0.5
contrast = 0.5
saturation = 0.5
hue = 0.25

According to the previous SimCLR paper, we know they set them as follows:

  brightness = 0.8
  contrast = 0.8
  saturation = 0.8
  hue = 0.2

It would be great if you could share more results of the influence on the choices of these four hyperparameters!

@Yuliang-Zou
Copy link

Hi @PkuRainBow , thanks for your interest! We have an ablation study in Figure 5(e) of the paper.

We mainly adjust the strengths of brightness, contrast, and saturation. Using the same strength as in SimCLR leads to slightly worse performance. But a "strong enough" operation is necessary, otherwise, the model will overfit to the training set in the low-data regime. Overall, we find that 0.5 is a reasonable value.

@PkuRainBow
Copy link
Author

@Yuliang-Zou Thanks for your explanation!

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