mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-26 10:16:14 +00:00
misc. fix
This commit is contained in:
parent
7d01eb46db
commit
d77b03517f
@ -182,7 +182,9 @@ def preprocess_commonvoice(
|
||||
), f"{test_ids} does not exist, please check stage 1 of the prepare.sh"
|
||||
dev_ids = dev_ids.read_text().strip().split("\n")
|
||||
test_ids = test_ids.read_text().strip().split("\n")
|
||||
cut_set = cut_set.filter(lambda x: x.id not in dev_ids + test_ids)
|
||||
cut_set = cut_set.filter(
|
||||
lambda x: x.supervisions[0].id not in dev_ids + test_ids
|
||||
)
|
||||
|
||||
# Run data augmentation that needs to be done in the
|
||||
# time domain.
|
||||
|
Loading…
x
Reference in New Issue
Block a user