Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda authored Oct 31, 2024
1 parent 36733df commit d9c6779
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/torchmetrics/functional/multimodal/clip_iqa.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ def clip_image_quality_assessment(
positive prompt and the second string must be a negative prompt.
.. hint::
If using the default `clip_iqa` model, the package `piq` must be installed. Either install with
If using the default `clip_iqa` model, the package `piq` must be installed. Either install with
`pip install piq` or `pip install torchmetrics[multimodal]`.
Returns:
Expand Down
2 changes: 1 addition & 1 deletion src/torchmetrics/multimodal/clip_iqa.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ class CLIPImageQualityAssessment(Metric):
kwargs: Additional keyword arguments, see :ref:`Metric kwargs` for more info.
.. hint::
If using the default `clip_iqa` model, the package `piq` must be installed. Either install with
If using the default `clip_iqa` model, the package `piq` must be installed. Either install with
`pip install piq` or `pip install torchmetrics[image]`.
Raises:
Expand Down

0 comments on commit d9c6779

Please sign in to comment.