mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-09-04 06:34:20 +00:00
Update prepare.sh
This commit is contained in:
parent
b99f2f3996
commit
100e622c18
@ -111,4 +111,11 @@ if [ $stage -le 5 ] && [ $stop_stage -ge 5 ]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
if [ $stage -le 6 ] && [ $stop_stage -ge 6 ]; then
|
||||
log "Stage 6: Generate speakers file"
|
||||
if [ ! -e data/speakers.txt ]; then
|
||||
gunzip -c data/manifests/vctk_supervisions_all.jsonl.gz \
|
||||
| jq '.speaker' | sed 's/"//g' \
|
||||
| sort | uniq > data/speakers.txt
|
||||
fi
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user