File tree 2 files changed +2
-2
lines changed
torchmetrics/functional/text
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ All modular metrics are by default availble to import as
10
10
from torchmetrics import Accuracy, MeanSquaredError, SSIM # ect
11
11
` ``
12
12
13
- However, metrics that requires some additionaly dependencies (other than pytorch)
13
+ However, metrics that requires some additionaly dependencies (other than pytorch)
14
14
such as some of the image and text metrics need to be imported from their respective submodule
15
15
16
16
``python
Original file line number Diff line number Diff line change 14
14
15
15
from torchmetrics .functional .text .bert import bert_score # noqa: F401
16
16
from torchmetrics .functional .text .bleu import bleu_score # noqa: F401
17
+ from torchmetrics .functional .text .rouge import wer
17
18
from torchmetrics .functional .text .wer import wer # noqa: F401
18
- from torchmetrics .functional .text .rouge import wer # noqa: F401
You can’t perform that action at this time.
0 commit comments