Skip to content

Commit de7bfa2

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 7c22860 commit de7bfa2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/source/references/modules.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ All modular metrics are by default availble to import as
1010
from torchmetrics import Accuracy, MeanSquaredError, SSIM # ect
1111
```
1212

13-
However, metrics that requires some additionaly dependencies (other than pytorch)
13+
However, metrics that requires some additionaly dependencies (other than pytorch)
1414
such as some of the image and text metrics need to be imported from their respective submodule
1515

1616
``python

torchmetrics/functional/text/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414

1515
from torchmetrics.functional.text.bert import bert_score # noqa: F401
1616
from torchmetrics.functional.text.bleu import bleu_score # noqa: F401
17+
from torchmetrics.functional.text.rouge import wer
1718
from torchmetrics.functional.text.wer import wer # noqa: F401
18-
from torchmetrics.functional.text.rouge import wer # noqa: F401

0 commit comments

Comments
 (0)