Skip to content

Commit

Permalink
docs: Further install instructions for pesq metric (#850)
Browse files Browse the repository at this point in the history
  • Loading branch information
SkafteNicki authored Feb 22, 2022
1 parent eb1c6cf commit 76646b6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion torchmetrics/audio/pesq.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ class PerceptualEvaluationSpeechQuality(Metric):
to perform the metric calculation.
.. note:: using this metrics requires you to have ``pesq`` install. Either install as ``pip install
torchmetrics[audio]`` or ``pip install pesq``
torchmetrics[audio]`` or ``pip install pesq``. Note that ``pesq`` will compile with your currently
installed version of numpy, meaning that if you upgrade numpy at some point in the future you will
most likely have to reinstall ``pesq``.
Forward accepts
Expand Down
4 changes: 3 additions & 1 deletion torchmetrics/functional/audio/pesq.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ def perceptual_evaluation_speech_quality(
to perform the metric calculation.
.. note:: using this metrics requires you to have ``pesq`` install. Either install as ``pip install
torchmetrics[audio]`` or ``pip install pesq``
torchmetrics[audio]`` or ``pip install pesq``. Note that ``pesq`` will compile with your currently
installed version of numpy, meaning that if you upgrade numpy at some point in the future you will
most likely have to reinstall ``pesq``.
Args:
preds:
Expand Down

0 comments on commit 76646b6

Please sign in to comment.