You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I downloaded the Nancy weights and tried 'python3 test.py < prompts.txt' with one sentence in the prompts.txt file. I get the following error. Is this a tensorflow version issue? I'm on Ubuntu 16.04 and my TF version is 1.12.0:
Traceback (most recent call last):
File "test.py", line 91, in
test(model, config, prompts)
File "test.py", line 31, in test
model = model(config, batch_inputs, train=False)
File "/home/kbalak18/Tacotron/models/tacotron.py", line 191, in init
self.seq2seq_output, self.output = self.inference(inputs, train)
File "/home/kbalak18/Tacotron/models/tacotron.py", line 137, in inference
(seq2seq_output, _), attention_state, _ = decoder.dynamic_decode(dec, maximum_iterations=config.max_decode_iter)
File "/home/kbalak18/anaconda3/lib/python3.6/site-packages/tensorflow/contrib/seq2seq/python/ops/decoder.py", line 209, in dynamic_decode
zero_outputs = _create_zero_outputs(decoder.output_size,
File "/home/kbalak18/anaconda3/lib/python3.6/site-packages/tensorflow/contrib/seq2seq/python/ops/basic_decoder.py", line 101, in output_size
sample_id=self._helper.sample_ids_shape)
File "/home/kbalak18/anaconda3/lib/python3.6/site-packages/tensorflow/contrib/seq2seq/python/ops/helper.py", line 144, in sample_ids_shape
return self._sample_ids_shape
AttributeError: 'InferenceHelper' object has no attribute '_sample_ids_shape'
The text was updated successfully, but these errors were encountered:
Hello,
I downloaded the Nancy weights and tried 'python3 test.py < prompts.txt' with one sentence in the prompts.txt file. I get the following error. Is this a tensorflow version issue? I'm on Ubuntu 16.04 and my TF version is 1.12.0:
Traceback (most recent call last):
File "test.py", line 91, in
test(model, config, prompts)
File "test.py", line 31, in test
model = model(config, batch_inputs, train=False)
File "/home/kbalak18/Tacotron/models/tacotron.py", line 191, in init
self.seq2seq_output, self.output = self.inference(inputs, train)
File "/home/kbalak18/Tacotron/models/tacotron.py", line 137, in inference
(seq2seq_output, _), attention_state, _ = decoder.dynamic_decode(dec, maximum_iterations=config.max_decode_iter)
File "/home/kbalak18/anaconda3/lib/python3.6/site-packages/tensorflow/contrib/seq2seq/python/ops/decoder.py", line 209, in dynamic_decode
zero_outputs = _create_zero_outputs(decoder.output_size,
File "/home/kbalak18/anaconda3/lib/python3.6/site-packages/tensorflow/contrib/seq2seq/python/ops/basic_decoder.py", line 101, in output_size
sample_id=self._helper.sample_ids_shape)
File "/home/kbalak18/anaconda3/lib/python3.6/site-packages/tensorflow/contrib/seq2seq/python/ops/helper.py", line 144, in sample_ids_shape
return self._sample_ids_shape
AttributeError: 'InferenceHelper' object has no attribute '_sample_ids_shape'
The text was updated successfully, but these errors were encountered: