Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "/home/nikolal/miniconda3/envs/stanza/lib/python3.6/site-packages/stanza/pipeline/core.py", line 176, in __call__

doc = self.process(doc)


 "/home/nikolal/miniconda3/envs/stanza/lib/python3.6/site-packages/stanza/pipeline/core.py", line 170, in process

doc = self.processors[processor_name].process(doc)


 "/home/nikolal/miniconda3/envs/stanza/lib/python3.6/site-packages/stanza/pipeline/pos_processor.py", line 32, in process

for i, b in enumerate(batch):


 "/home/nikolal/miniconda3/envs/stanza/lib/python3.6/site-packages/stanza/models/pos/data.py", line 122, in __iter__

yield self.__getitem__(i)


 "/home/nikolal/miniconda3/envs/stanza/lib/python3.6/site-packages/stanza/models/pos/data.py", line 114, in __getitem__

xpos = get_long_tensor(batch[3], batch_size)


 "/home/nikolal/miniconda3/envs/stanza/lib/python3.6/site-packages/stanza/models/common/data.py", line 22, in get_long_tensor

tokens[i, :len(s)] = torch.LongTensor(s)
RuntimeError: The expanded size of the tensor (10) must match the existing size (0) at non-singleton dimension 1.
Target sizes: [0, 10].
Tensor sizes: [0]

Traceback (most recent call last):


 "synthesize.py", line 100, in <module>

main()


 "synthesize.py", line 94, in main

synthesize(args, hparams, taco_checkpoint, wave_checkpoint, sentences)


 "synthesize.py", line 36, in synthesize

wavenet_in_dir = tacotron_synthesize(args, hparams, taco_checkpoint, sentences)


 "/home/dex/tts-2/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/tacotron_model.ckpt-25000
