TensorSpeech / TensorFlowTTS

:stuck_out_tongue_closed_eyes: TensorFlowTTS: Real-Time State-of-the-art Speech Synthesis for Tensorflow 2 (supported including English, French, Korean, Chinese, German and Easy to adapt for other languages)
https://tensorspeech.github.io/TensorFlowTTS/
Apache License 2.0
3.8k stars 810 forks source link

zipfile.BadZipFile: File is not a zip file #745

Closed Brokenwind closed 2 years ago

Brokenwind commented 2 years ago

$tensorflow-tts-preprocess --rootdir ./ljspeech --outdir ./dump_ljspeech --config preprocess/ljspeech_preprocess.yaml --dataset ljspeech Traceback (most recent call last): File "/disk1/hault.wk/.local/miniconda3/envs/tf2/bin/tensorflow-tts-preprocess", line 5, in from tensorflow_tts.bin.preprocess import preprocess File "/disk1/hault.wk/.local/miniconda3/envs/tf2/lib/python3.7/site-packages/tensorflow_tts/bin/preprocess.py", line 33, in from tensorflow_tts.processor import LJSpeechProcessor File "/disk1/hault.wk/.local/miniconda3/envs/tf2/lib/python3.7/site-packages/tensorflow_tts/processor/init.py", line 6, in from tensorflow_tts.processor.libritts import LibriTTSProcessor File "/disk1/hault.wk/.local/miniconda3/envs/tf2/lib/python3.7/site-packages/tensorflow_tts/processor/libritts.py", line 24, in from g2p_en import g2p as grapheme_to_phonem File "/disk1/hault.wk/.local/miniconda3/envs/tf2/lib/python3.7/site-packages/g2p_en/init.py", line 1, in from .g2p import G2p File "/disk1/hault.wk/.local/miniconda3/envs/tf2/lib/python3.7/site-packages/g2p_en/g2p.py", line 22, in nltk.data.find('taggers/averaged_perceptron_tagger.zip') File "/disk1/hault.wk/.local/miniconda3/envs/tf2/lib/python3.7/site-packages/nltk/data.py", line 542, in find return ZipFilePathPointer(p, zipentry) File "/disk1/hault.wk/.local/miniconda3/envs/tf2/lib/python3.7/site-packages/nltk/compat.py", line 41, in _decorator return init_func(*args, *kwargs) File "/disk1/hault.wk/.local/miniconda3/envs/tf2/lib/python3.7/site-packages/nltk/data.py", line 394, in init zipfile = OpenOnDemandZipFile(os.path.abspath(zipfile)) File "/disk1/hault.wk/.local/miniconda3/envs/tf2/lib/python3.7/site-packages/nltk/compat.py", line 41, in _decorator return init_func(args, **kwargs) File "/disk1/hault.wk/.local/miniconda3/envs/tf2/lib/python3.7/site-packages/nltk/data.py", line 935, in init zipfile.ZipFile.init(self, filename) File "/disk1/hault.wk/.local/miniconda3/envs/tf2/lib/python3.7/zipfile.py", line 1258, in init self._RealGetContents() File "/disk1/hault.wk/.local/miniconda3/envs/tf2/lib/python3.7/zipfile.py", line 1325, in _RealGetContents raise BadZipFile("File is not a zip file") zipfile.BadZipFile: File is not a zip file