use multi machines

This commit is contained in:
Yuekai Zhang 2024-01-23 23:28:47 +08:00
parent cf85019290
commit baa7c5fb8d

View File

@ -218,46 +218,21 @@ if [ $stage -le 131 ] && [ $stop_stage -ge 131 ]; then
--num-workers 8 \ --num-workers 8 \
--batch-duration 1000 \ --batch-duration 1000 \
--start 48 \ --start 48 \
--stop 58 \
--num-mel-bins ${whisper_mel_bins} --whisper-fbank true \
--num-splits $num_splits &
python3 ./local/compute_fbank_wenetspeech_splits.py \
--training-subset L \
--num-workers 8 \
--batch-duration 1000 \
--start 58 \
--stop 68 \ --stop 68 \
--num-mel-bins ${whisper_mel_bins} --whisper-fbank true \ --num-mel-bins ${whisper_mel_bins} --whisper-fbank true \
--num-splits $num_splits & --num-splits $num_splits
fi
if [ $stage -le 132 ] && [ $stop_stage -ge 132 ]; then
log "Stage 132: test"
python3 ./local/compute_fbank_wenetspeech_splits.py \ python3 ./local/compute_fbank_wenetspeech_splits.py \
--training-subset L \ --training-subset L \
--num-workers 8 \ --num-workers 8 \
--batch-duration 1000 \ --batch-duration 1000 \
--start 68 \ --start 68 \
--stop 78 \
--num-mel-bins ${whisper_mel_bins} --whisper-fbank true \ --num-mel-bins ${whisper_mel_bins} --whisper-fbank true \
--num-splits $num_splits & --num-splits $num_splits
python3 ./local/compute_fbank_wenetspeech_splits.py \
--training-subset L \
--num-workers 8 \
--batch-duration 1000 \
--start 78 \
--stop 88 \
--num-mel-bins ${whisper_mel_bins} --whisper-fbank true \
--num-splits $num_splits &
python3 ./local/compute_fbank_wenetspeech_splits.py \
--training-subset L \
--num-workers 8 \
--batch-duration 1000 \
--start 88 \
--num-mel-bins ${whisper_mel_bins} --whisper-fbank true \
--num-splits $num_splits &
wait
fi fi
if [ $stage -le 14 ] && [ $stop_stage -ge 14 ]; then if [ $stage -le 14 ] && [ $stop_stage -ge 14 ]; then