mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-09 14:05:33 +00:00
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:
parent
542620c4e3
commit
f7fec4a6e7
@ -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}")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user