Rayhane-mamah / Tacotron-2

DeepMind's Tacotron-2 Tensorflow implementation
MIT License
2.28k stars 905 forks source link

Synthesis Error #469

Open kevastator opened 4 years ago

kevastator commented 4 years ago

I loaded up a pre-trained model and attempted to synthesis (utilizing Tacotron-2 settings) and I was bombarded with this error:

Synthesizing mel-spectrograms from text.. Traceback (most recent call last): File "F:\Tacotron-2\tacotron\synthesize.py", line 121, in tacotron_synthesize checkpoint_path = tf.train.get_checkpoint_state(checkpoint).model_checkpoint _path AttributeError: 'NoneType' object has no attribute 'model_checkpoint_path'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "synthesize.py", line 100, in main() File "synthesize.py", line 94, in main synthesize(args, hparams, taco_checkpoint, wave_checkpoint, sentences) File "synthesize.py", line 36, in synthesize wavenet_in_dir = tacotron_synthesize(args, hparams, taco_checkpoint, sentenc es) File "F:\Tacotron-2\tacotron\synthesize.py", line 124, in tacotron_synthesize raise RuntimeError('Failed to load checkpoint at {}'.format(checkpoint)) RuntimeError: Failed to load checkpoint at logs-Tacotron-2\taco_pretrained/

I will continue to try to fix this, but does anyone have a clue about what is going wrong?