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

Imagenet num_img_per_val_class isn't part of ffcv file hash #5

Open
lebrice opened this issue Oct 4, 2022 · 0 comments
Open

Imagenet num_img_per_val_class isn't part of ffcv file hash #5

lebrice opened this issue Oct 4, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@lebrice
Copy link
Collaborator

lebrice commented Oct 4, 2022

When creating the train_ffcv file, I take into account all the ffcv-related parameters to create a hash that gets put in the file name. However, this num_img_per_val_class isn't in there, so even if it gets changed, the same ffcv file will be used for the train dataloader, and the length of the dataloader will not change! (note: the length of the val dataloader will change).

@lebrice lebrice added the bug Something isn't working label Oct 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant