Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 20, 2024
1 parent 28fbef4 commit c6c433e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/torchmetrics/functional/multimodal/clip_score.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def _clip_score_update(
target_data = _process_image_data(target)
else:
target_data = _process_text_data(target)

# Verify matching lengths
if len(source_data) != len(target_data):
raise ValueError(
Expand Down

0 comments on commit c6c433e

Please sign in to comment.