Merge pull request #2090 from KPatr1ck/sv

[Examples][SV] Fix rir download. test=doc
pull/2096/head
TianYuan 3 years ago committed by GitHub
commit e0a87ea914
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -34,7 +34,7 @@ from utils.utility import unzip
DATA_HOME = os.path.expanduser('~/.cache/paddle/dataset/speech') DATA_HOME = os.path.expanduser('~/.cache/paddle/dataset/speech')
URL_ROOT = '--no-check-certificate http://openslr.elda.org/resources/28' URL_ROOT = '--no-check-certificate https://us.openslr.org/resources/28/rirs_noises.zip'
DATA_URL = URL_ROOT + '/rirs_noises.zip' DATA_URL = URL_ROOT + '/rirs_noises.zip'
MD5_DATA = 'e6f48e257286e05de56413b4779d8ffb' MD5_DATA = 'e6f48e257286e05de56413b4779d8ffb'

@ -74,7 +74,7 @@ if [ ${stage} -le 3 ] && [ ${stop_stage} -ge 3 ]; then
# convert the m4a to wav # convert the m4a to wav
# and we will not delete the original m4a file # and we will not delete the original m4a file
echo "start to convert the m4a to wav" echo "start to convert the m4a to wav"
bash local/convert.sh ${TARGET_DIR}/voxceleb/vox2/test/ || exit 1; bash local/convert.sh ${TARGET_DIR}/voxceleb/vox2/ || exit 1;
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
echo "Convert voxceleb2 dataset from m4a to wav failed. Terminated." echo "Convert voxceleb2 dataset from m4a to wav failed. Terminated."

Loading…
Cancel
Save