i want to ask question about dice.py #1689
Unanswered
1583364217
asked this question in
Q&A
Replies: 1 comment
-
Setting pip install --upgrade torchmetrics Check input shapes and types match expected formats. Rewriting |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
average:
Defines the reduction that is applied. Should be one of the following:
-
'micro'
[default]: Calculate the metric globally, across all samples and classes.-
'macro'
: Calculate the metric for each class separately, and average themetrics across classes (with equal weights for each class).
-
'weighted'
: Calculate the metric for each class separately, and average themetrics across classes, weighting each class by its support (
tp + fn
).-
'none'
orNone
: Calculate the metric for each class separately, and returnthe metric for every class.
-
'samples'
: Calculate the metric for each sample, and average the metricsacross samples (with equal weights for each sample).
.. note::
What is considered a sample in the multi-dimensional multi-class case
depends on the value of
mdmc_average
.i used None to get a list including all classes dice, but raise a error. In the exegesis, You can pass in the parameter None. how i to do to get each classes dice? rewrite Dice?
Beta Was this translation helpful? Give feedback.
All reactions