From c6c433e1026b0bc959ce6211ac427868bf46ac04 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 20 Dec 2024 19:47:37 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/torchmetrics/functional/multimodal/clip_score.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/torchmetrics/functional/multimodal/clip_score.py b/src/torchmetrics/functional/multimodal/clip_score.py index 06b603e9a75..3485612ad16 100644 --- a/src/torchmetrics/functional/multimodal/clip_score.py +++ b/src/torchmetrics/functional/multimodal/clip_score.py @@ -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(