Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda authored Sep 13, 2024
1 parent 48f584f commit 9baf6e6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/torchmetrics/classification/dice.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,9 @@ class Dice(Metric):
kwargs: Additional keyword arguments, see :ref:`Metric kwargs` for more info.
.. warning::
The `dice` metrics is being deprecated from the classification subpackage in v1.6.0 of torchmetrics and will be
removed in v1.7.0. Please instead consider using `f1score` metric from the classification subpackage as it
provides the same functionality. Additionally, we are going to re-add the `dice` metric in the segmentation
The ``dice`` metrics is being deprecated from the classification subpackage in v1.6.0 of torchmetrics and will be
removed in v1.7.0. Please instead consider using ``f1score`` metric from the classification subpackage as it
provides the same functionality. Additionally, we are going to re-add the ``dice`` metric in the segmentation
domain in v1.6.0 with slight modifications to functionality.
Raises:
Expand Down
6 changes: 3 additions & 3 deletions src/torchmetrics/functional/classification/dice.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,9 @@ def dice(
than what they appear to be.
.. warning::
The `dice` metrics is being deprecated from the classification subpackage in v1.6.0 of torchmetrics and will be
removed in v1.7.0. Please instead consider using `f1score` metric from the classification subpackage as it
provides the same functionality. Additionally, we are going to re-add the `dice` metric in the segmentation
The ``dice`` metrics is being deprecated from the classification subpackage in v1.6.0 of torchmetrics and will be
removed in v1.7.0. Please instead consider using ``f1score`` metric from the classification subpackage as it
provides the same functionality. Additionally, we are going to re-add the ``dice`` metric in the segmentation
domain in v1.6.0 with slight modifications to functionality.
Return:
Expand Down

0 comments on commit 9baf6e6

Please sign in to comment.