mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-11 06:55:27 +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
865b859e5d
commit
b19929c302
@ -73,10 +73,10 @@ if __name__ == "__main__":
|
|||||||
try:
|
try:
|
||||||
musan_cuts = load_manifest(musan_manifest_path)
|
musan_cuts = load_manifest(musan_manifest_path)
|
||||||
updated_musan_cuts = update_paths(
|
updated_musan_cuts = update_paths(
|
||||||
musan_cuts,
|
musan_cuts,
|
||||||
"musan",
|
"musan",
|
||||||
old_feature_prefix="data/fbank"
|
old_feature_prefix="data/fbank"
|
||||||
)
|
)
|
||||||
# Make sure we're overwriting the correct path even if it's a symlink
|
# 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():
|
if musan_manifest_path.is_symlink() or musan_manifest_path.exists():
|
||||||
logger.info(f"Overwriting existing musan manifest at: {musan_manifest_path}")
|
logger.info(f"Overwriting existing musan manifest at: {musan_manifest_path}")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user