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

[FEATURE] Validation labels txt or csv file #1081

Open
IgorKasianenko opened this issue Jan 11, 2022 · 1 comment
Open

[FEATURE] Validation labels txt or csv file #1081

IgorKasianenko opened this issue Jan 11, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@IgorKasianenko
Copy link

I have trained model using timm distributed_train.sh, but I have 0.1 validation accuracy on imagenet. Images in validation folder are all placed in root directory going like ILSVRC2012_val_00000001.JPEG ... ILSVRC2012_val_00050000.JPEG.

Describe the solution you'd like
I would like to have parameter in validate.py file similar to '--real-labels' that will take csv or txt file with structure like

ImageId,Class
ILSVRC2012_val_00000001,n01751748
@IgorKasianenko IgorKasianenko added the enhancement New feature or request label Jan 11, 2022
@aliutkus
Copy link

run https://github.com/PatrickHua/EasyImageNet/blob/main/valprep.sh in the validation folder of your imagenet copy (the one featuring 50k files) and everything will run smoothly from this point

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants