Skip to content
Discussion options

You must be logged in to vote

There was indeed a major change through these releases which can be tracked at Lightning-AI/torchmetrics#655 and the referenced issues. They added the task arg to discern which object to instantiate depending on the task itself (see the issue for the underlying reasons). For instance, in the multiclass case they're instantiating a MulticlassAccuracy object (https://github.com/Lightning-AI/metrics/blob/bc057d495703aff5c4d8d671c54060e08a677142/src/torchmetrics/classification/accuracy.py#L359).

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@chriswilson2020
Comment options

Answer selected by chriswilson2020
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants