Explorar o código

FIX: 修复下载解压完成LibriTTS数据时,生成.complete文件失败,这导致每次执行download_and_untar.sh时都要重新下载数据。

cyz hai 1 ano
pai
achega
72b52b0331
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      examples/libritts/cosyvoice/local/download_and_untar.sh

+ 2 - 2
examples/libritts/cosyvoice/local/download_and_untar.sh

@@ -43,7 +43,7 @@ if [ -z "$url" ]; then
   exit 1
 fi
 
-if [ -f $data/LibriSpeech/$part/.complete ]; then
+if [ -f $data/LibriTTS/$part/.complete ]; then
   echo "$0: data part $part was already successfully extracted, nothing to do."
   exit 0
 fi
@@ -87,7 +87,7 @@ if ! tar -C $data -xvzf $data/$part.tar.gz; then
   exit 1
 fi
 
-touch $data/LibriSpeech/$part/.complete
+touch $data/LibriTTS/$part/.complete
 
 echo "$0: Successfully downloaded and un-tarred $data/$part.tar.gz"