Skip to content

Commit

Permalink
Fix metric_factory's type
Browse files Browse the repository at this point in the history
  • Loading branch information
vinamarora8 committed Nov 28, 2024
1 parent 73f7586 commit 69230b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torch_brain/utils/stitcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def __init__(
self,
session_ids: Iterable[str],
modality_spec: Optional[ModalitySpec] = None,
metric_factory: Optional[Callable[[int], ModalitySpec]] = None,
metric_factory: Optional[Callable[..., torchmetrics.Metric]] = None,
quiet=False,
):
r"""
Expand Down

0 comments on commit 69230b9

Please sign in to comment.