Update egs/multi_ja_en/ASR/local/utils/update_cutset_paths.py

Co-authored-by: Yubo <54519381+yuta0306@users.noreply.github.com>
This commit is contained in:
Bailey Machiko Hirota 2025-07-16 17:18:12 +09:00 committed by Bailey Hirota
parent 865b859e5d
commit b19929c302

View File

@ -73,10 +73,10 @@ if __name__ == "__main__":
try:
musan_cuts = load_manifest(musan_manifest_path)
updated_musan_cuts = update_paths(
musan_cuts,
"musan",
old_feature_prefix="data/fbank"
)
musan_cuts,
"musan",
old_feature_prefix="data/fbank"
)
# Make sure we're overwriting the correct path even if it's a symlink
if musan_manifest_path.is_symlink() or musan_manifest_path.exists():
logger.info(f"Overwriting existing musan manifest at: {musan_manifest_path}")