Update run.sh

This commit is contained in:
xiaohou 2021-11-18 16:18:13 +08:00 committed by GitHub
parent 33f1da6789
commit d34152b207
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,7 +41,7 @@ if [ ${stage} -le 0 ] && [ ${stop_stage} -ge 0 ]; then
data=data/$x data=data/$x
mkdir -p $data mkdir -p $data
# make wav.scp utt2spk text file # make wav.scp utt2spk text file
find $speech_command_dir/$x -name *.wav | grep -v "_background_noise_" > $data/wav.list find $speech_command_dir/$x -name *.wav | grep -v "_background_noise_" > $data/wav.list
python local/prepare_speech_command.py --wav_list=$data/wav.list --data_dir=$data python local/prepare_speech_command.py --wav_list=$data/wav.list --data_dir=$data
done done
fi fi