Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor fix to commonvoice espnet1 #4862

Merged
merged 1 commit into from
Jan 11, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 4 additions & 6 deletions egs/commonvoice/asr1/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -113,12 +113,10 @@ if [ ${stage} -le 1 ] && [ ${stop_stage} -ge 1 ]; then
utils/fix_data_dir.sh data/${x}
done

for x in ${train_set} ${recog_set}; do
# Remove features with too long frames in training data
max_len=3000
remove_longshortdata.sh --maxframes $max_len data/${x} data/${x}_temp
mv data/${x}_temp data/${x}
done
# Remove features with too long frames in training data
mv data/${train_set} data/${train_set}_org
max_len=3000
remove_longshortdata.sh --maxframes $max_len data/${train_set}_org data/${train_set}

# compute global CMVN
compute-cmvn-stats scp:data/${train_set}/feats.scp data/${train_set}/cmvn.ark
Expand Down