Issues when train the Tacotron model on LJSpeech dataset. #587
Unanswered
thomasvonl
asked this question in
General Q&A
Replies: 1 comment 9 replies
-
Have you tried running it with
try it without adding |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have chang the last two cell of TTS_example.ipynb to
!python /content/TTS/TTS/bin/compute_statistics.py /content/TTS/recipes/ljspeech/tacotron2-DDC/tacotron2-DDC.json /content/TTS/scale_stats.npy --data_path /content/LJSpeech-1.1/wavs/' '!CUDA_VISIBLE_DEVICES="0" python /content/TTS/TTS/bin/train_tacotron.py --config_path /content/TTS/recipes/ljspeech/tacotron2-DDC/tacotron2-DDC.json \ --coqpit.output_path ./Results \ --coqpit.datasets.0.path /content/LJSpeech-1.1/ \ --coqpit.audio.stats_path /content/TTS/scale_stats.npy \
and I have get the following error message
Using CUDA: True Number of GPUs: 1 Mixed precision mode is ON fatal: not a git repository (or any of the parent directories): .git Git Hash: 0000000 Experiment folder: DEFINE THIS/ljspeech-ddc-June-20-2021_02+22PM-0000000 fatal: not a git repository (or any of the parent directories): .git Traceback (most recent call last): File "/content/TTS/TTS/bin/train_tacotron.py", line 737, in args, config, OUT_PATH, AUDIO_PATH, c_logger, tb_logger = init_training(sys.argv) File "/content/TTS/TTS/utils/arguments.py", line 182, in init_training config, OUT_PATH, AUDIO_PATH, c_logger, tb_logger = process_args(args) File "/content/TTS/TTS/utils/arguments.py", line 168, in process_args copy_model_files(config, experiment_path, new_fields) File "/content/TTS/TTS/utils/io.py", line 42, in copy_model_files copy_stats_path, File "/usr/lib/python3.7/shutil.py", line 120, in copyfile with open(src, 'rb') as fsrc: FileNotFoundError: [Errno 2] No such file or directory: 'scale_stats.npy'
The file scale_stats.npy exists and the file path is correct. Is the -- coqpit.addio.stats_path argument set the state file path? And I track the error to the "utils/io.py" file and test the value of "config.audio.stats_path", I assume it should be "/content/TTS/scale_stats.npy " but it is "scale_stats.npy". And I run the ipynb file on the Colab, so it clone the latest repo.
@Sadam1195
Beta Was this translation helpful? Give feedback.
All reactions