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

Validation set for CIFAR10 #21

Closed
Holim0711 opened this issue Dec 15, 2021 · 4 comments
Closed

Validation set for CIFAR10 #21

Holim0711 opened this issue Dec 15, 2021 · 4 comments

Comments

@Holim0711
Copy link

Thanks for your great work!

But it seems there is no validation set sampling part in this repository.

As far as I know, in general, 5,000 images are subtracted from the training set and used as validation.
[1] Official FixMatch, validation set size options, fixmatch
[2] A. Oliver, et al., "Realistic Evaluation of Deep Semi-Supervised Learning Algorithms"

I tried to find it in the datasets/ssl_dataset.py, but I couldn't.
May I know where the validation set part, or why it's not there? Thanks!

@qianlanwyd
Copy link
Member

qianlanwyd commented Dec 15, 2021

Google's repo and fixmatch paper do not actually use validation dataset, please read fixmatch paper and their codes more carefully.

@Holim0711
Copy link
Author

Google's repo and fixmatch paper do not actually use validation dataset, please read fixmatch paper and their codes more carefully.

But in FixMatch paper, they say they followed standard SSL evaluation protocols of [A. Oliver et al., ...]
And the protocol specifies a validation set of 5000 samples. (see A. Oliver et al., Appendix B)

Also, google's fixmatch repo has the option --dataset=cifar10.{random_seed}@{#.labeled}-{#.validation}.
And you can find For validation, available sizes are 1, 5000 in the README.md of the repo.

Correct me if I'm wrong...
Thank you!

@qianlanwyd
Copy link
Member

In Fixmatch repo Readme, they wrote :
We compute the median accuracy of the last 20 checkpoints in the paper, this is done through this code:

@Holim0711
Copy link
Author

Ah, I get it now. Thank you for your answer so much!

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