-
Notifications
You must be signed in to change notification settings - Fork 422
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
Add ignore_index option to Accuracy metric #61
Comments
Hi! thanks for your contribution!, great first issue! |
Hi, |
@avinashsai please feel free to do so :] |
@SkafteNicki I have a query: Accuracy(y_pred, y_true, ignore_index=0) = 100% |
@avinashsai that at least how I would like the argument to work, as it is similar to how |
@avinashsai how is it going here? |
@SkafteNicki I am working on it. Will submit PR in a couple of days. |
Closed by #166 |
🚀 Feature
It would be nice if
Accuracy
metric acceptedignore_index
as it works forStatsScore
ortorch.nn.CrossEntropyLoss
The text was updated successfully, but these errors were encountered: