-
Notifications
You must be signed in to change notification settings - Fork 215
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
Error during training of Fashion dataset classifier for 'gender' class #94
Comments
Please share your notebook, that will help us understand the error better |
https://drive.google.com/drive/folders/1eqcV389Jfv6MUOXVo_fHQUqvg1I39xfq Drive link for the same. |
Make the notebook public, it says access denied |
As per the code it seems a single label classification but the code used is for multi label classification. There is a delimiter mismatch; the header has a delimiter of "," and rest of the table has whitespace as a delimiter with open("./dataset/mod_labels.csv",'w') as f:
f.write("ID,Labels\n")
for key,value in mod_labels.items():
value = list(map(str,value))
labels = " ".join(value)
f.write("{},{}\n".format(key,labels))
f.close() Recommended way for single label: - While loading the dataset params leave out the delimiter option, it will read the csv file and detect the delimiter accordingly Recommended way for multi label: - While loading the dataset params set the delimiter option as whitespace, it will read the csv file and detect the delimiter between image and label automatically whereas the delimiter (whitespace) is user mentioned. |
While training the fashion data set , When it come across only classifying the gender class , it shows the below error
The text was updated successfully, but these errors were encountered: