Spaces:
Running
on
Zero
Running
on
Zero
Merge pull request #127 from Cxywzx/main
Browse filesFIX: 修复下载解压完成LibriTTS数据时,生成.complete文件失败。
examples/libritts/cosyvoice/local/download_and_untar.sh
CHANGED
@@ -43,7 +43,7 @@ if [ -z "$url" ]; then
|
|
43 |
exit 1
|
44 |
fi
|
45 |
|
46 |
-
if [ -f $data/
|
47 |
echo "$0: data part $part was already successfully extracted, nothing to do."
|
48 |
exit 0
|
49 |
fi
|
@@ -87,7 +87,7 @@ if ! tar -C $data -xvzf $data/$part.tar.gz; then
|
|
87 |
exit 1
|
88 |
fi
|
89 |
|
90 |
-
touch $data/
|
91 |
|
92 |
echo "$0: Successfully downloaded and un-tarred $data/$part.tar.gz"
|
93 |
|
|
|
43 |
exit 1
|
44 |
fi
|
45 |
|
46 |
+
if [ -f $data/LibriTTS/$part/.complete ]; then
|
47 |
echo "$0: data part $part was already successfully extracted, nothing to do."
|
48 |
exit 0
|
49 |
fi
|
|
|
87 |
exit 1
|
88 |
fi
|
89 |
|
90 |
+
touch $data/LibriTTS/$part/.complete
|
91 |
|
92 |
echo "$0: Successfully downloaded and un-tarred $data/$part.tar.gz"
|
93 |
|