志浩
2023-02-23 64bd74c7be1f9bda9b6b783b7c32bc3251096835
funasr/tasks/diar.py
@@ -368,7 +368,7 @@
            cls, train: bool = True, inference: bool = False
    ) -> Tuple[str, ...]:
        if not inference:
            retval = ("speech", "profile", "label")
            retval = ("speech", "profile", "binary_labels")
        else:
            # Recognition mode
            retval = ("speech", "profile")