Skip to content

Commit

Permalink
resolved pre-commit issue
Browse files Browse the repository at this point in the history
  • Loading branch information
yasamanparhizkar committed Oct 5, 2024
1 parent 23ccf45 commit 2f5680a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mmlearn/tasks/zero_shot_retrieval.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def __init__(self, task_specs: List[RetrievalTaskSpec]):
self.metrics = MetricCollection(self.metrics)

self.modality_pairs = [
(key.split("_to_")[0], key.split("_to_")[1].split("_R@")[0]) # type: ignore [attr-defined]
(key.split("_to_")[0], key.split("_to_")[1].split("_R@")[0])
for key in self.metrics
]
self.modality_pairs = [
Expand Down

0 comments on commit 2f5680a

Please sign in to comment.