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

Save a labels.txt in the artifact directory for the ImageFolderDataset (could maybe apply to other datasets) #2761

Open
aurelien-clu opened this issue Feb 1, 2025 · 0 comments
Labels
enhancement Enhance existing features

Comments

@aurelien-clu
Copy link

Feature description

Training a model should also provide a way to know the label name and ordering without knowledge of the dataset. It would also prevent potential errors if we default to use the labels provided inside the artifact directory next to the model weights.

Feature motivation

I am training a model that classifies kanjis with many classes (~5600) and no obvious label ordering so it could be prone to error between a prediction [0.1, ..., 0.5] and knowing that this means:

一: 0.1
...
龠: 0.5
@laggui laggui added the enhancement Enhance existing features label Feb 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhance existing features
Projects
None yet
Development

No branches or pull requests

2 participants