Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Carlos Mocholí <[email protected]>
  • Loading branch information
Borda and carmocca committed Mar 23, 2021
1 parent 7c30ef2 commit 543183f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pytorch_lightning/metrics/regression/r2score.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ def __init__(
dist_sync_fn: Callable = None,
):
"""
This implementation refers to :class:`~torchmetrics.Accuracy`.
This implementation refers to :class:`~torchmetrics.R2Score`.
.. deprecated::
Use :class:`~torchmetrics.Accuracy`. Will be removed in v1.5.0.
Use :class:`~torchmetrics.R2Score`. Will be removed in v1.5.0.
"""
4 changes: 2 additions & 2 deletions pytorch_lightning/metrics/regression/ssim.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ def __init__(
process_group: Optional[Any] = None,
):
"""
This implementation refers to :class:`~torchmetrics.Accuracy`.
This implementation refers to :class:`~torchmetrics.SSIM`.
.. deprecated::
Use :class:`~torchmetrics.Accuracy`. Will be removed in v1.5.0.
Use :class:`~torchmetrics.SSIM`. Will be removed in v1.5.0.
"""

0 comments on commit 543183f

Please sign in to comment.