Skip to content

Commit 593ad1c

Browse files
Bordacarmocca
andcommitted
Apply suggestions from code review
Co-authored-by: Carlos Mocholí <[email protected]>
1 parent d9f0350 commit 593ad1c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pytorch_lightning/metrics/regression/r2score.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ def __init__(
3232
dist_sync_fn: Callable = None,
3333
):
3434
"""
35-
This implementation refers to :class:`~torchmetrics.Accuracy`.
35+
This implementation refers to :class:`~torchmetrics.R2Score`.
3636
3737
.. deprecated::
38-
Use :class:`~torchmetrics.Accuracy`. Will be removed in v1.5.0.
38+
Use :class:`~torchmetrics.R2Score`. Will be removed in v1.5.0.
3939
"""

pytorch_lightning/metrics/regression/ssim.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ def __init__(
3434
process_group: Optional[Any] = None,
3535
):
3636
"""
37-
This implementation refers to :class:`~torchmetrics.Accuracy`.
37+
This implementation refers to :class:`~torchmetrics.SSIM`.
3838
3939
.. deprecated::
40-
Use :class:`~torchmetrics.Accuracy`. Will be removed in v1.5.0.
40+
Use :class:`~torchmetrics.SSIM`. Will be removed in v1.5.0.
4141
"""

0 commit comments

Comments
 (0)