-
Notifications
You must be signed in to change notification settings - Fork 3k
Fix num_labels to num_classes in dataset files #6666
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
Conversation
Not authorized to trigger CI. Please ask core developer to help trigger via issuing comment:
|
df81ddb
to
8989798
Compare
Not authorized to trigger CI. Please ask core developer to help trigger via issuing comment:
|
@Rhett-Ying Would you mind get someone review this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have you run all these changed examples(running pytorch examples is enough) to make sure the api change does not cause regression issue? These examples are not covered in our CI.
working on it |
It's cleared.
|
Description
update the examples and 3 datasets, from num_labels to num_classes
Checklist
Please feel free to remove inapplicable items for your PR.
Changes
examples are updated to use data.num_classes instead of nums_labels
each dataset that explicitly defined num_labels has been checked or updated to include num_classes