This repository has been archived by the owner on Nov 21, 2022. It is now read-only.
Custom data file for classification seems to be failing #154
Labels
bug / fix
Something isn't working
help wanted
Extra attention is needed
wontfix
This will not be worked on
Comments
same here~
|
Thanks guys! This makes sense, I think the right approach to fix this would be to either infer the number of classes from the data (by collecting all unique labels, which I think HF Datasets supports) or to allow the user to pass this in. |
this error only for cli |
am running into the same issue, is there any workarounds? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
bug / fix
Something isn't working
help wanted
Extra attention is needed
wontfix
This will not be worked on
馃悰 Bug
When training a classification model on custom data file, the training fails because it expect
num_classes
To Reproduce
Use this collab:
https://colab.research.google.com/drive/1uamw6SNaOr_4ch24JNxAj2yfgLUKfJqO?usp=sharing
Error:
Expected behavior
It should start training.
Environment
check the notebook
The text was updated successfully, but these errors were encountered: