You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
PaddleSpeech/examples/other/rhy/local/data.sh

27 lines
599 B

#!/bin/bash
if [ ! -f 000001-010000.txt ]; then
wget https://paddlespeech.bj.bcebos.com/Parakeet/released_models/rhy_predict/000001-010000.txt
fi
if [ ! -f label_train-set.txt ]; then
wget https://paddlespeech.bj.bcebos.com/Parakeet/released_models/rhy_predict/label_train-set.txt
fi
aishell_data=$1
csmsc_data=$2
processed_path=$3
python3 ./local/pre_for_sp_csmsc.py \
--data=${csmsc_data} \
--processed_path=${processed_path}
python3 ./local/pre_for_sp_aishell.py \
--data=${aishell_data} \
--processed_path=${processed_path}
echo "Finish data preparation."
exit 0