北念
2024-07-18 bd352983c6392c32206d50ca0f5c55cb6e02e4c6
funasr/utils/datadir_writer.py
@@ -3,7 +3,6 @@
import warnings
class DatadirWriter:
    """Writer class to create kaldi like data directory.
@@ -63,8 +62,7 @@
                child.close()
                if prev_child is not None and prev_child.keys != child.keys:
                    warnings.warn(
                        f"Ids are mismatching between "
                        f"{prev_child.path} and {child.path}"
                        f"Ids are mismatching between " f"{prev_child.path} and {child.path}"
                    )
                prev_child = child