lhotse
lhotse copied to clipboard
Read seperate .jsonl.gz from fbank filter them and make a Cutset into single variable.
code : for items in mf2: test_item_cuts = librispeech.test_clean_cuts(items)
# test_filtered_cuts = test_item_cuts.filter(remove_short_and_long_utt)
if test_item_cuts is not None:
print(items)
test_filtered_cuts = test_item_cuts.filter(remove_short_and_long_utt)
if count==0:
#test_other_cuts = librispeech.test_other_cuts()
test_clean_cuts = test_filtered_cuts
else:
test_clean_cuts = test_clean_cuts + test_filtered_cuts
count=count+1
print(count)
test_clean_cuts.to_file("manifest.jsonl.gz")
Error:
File "/NAS1/sanjukta_repo_falcon2/zipformer_gitlab_local/zipformer_v1/icefall/egs/librispeech/ASR/./zipformer/decode.py", line 1224, in