Closed ErfolgreichCharismatisch closed 3 years ago
@ErfolgreichCharismatisch can you try fastspeech2 rather than fastspeech1 ?, (pretrained here https://drive.google.com/drive/u/1/folders/1Q7QrTMksI-5F3_44-68ex2RkOO_789TW).
I just tested the above code in the master branch and everything is ok :D
Thanks.
I got that to work with the tutorials' files.
Now I get
2020-10-21 00:11:34.144199: W tensorflow/stream_executor/gpu/redzone_allocator.cc:314] Internal: Invoking GPU asm compilation is supported on Cuda non-Windows platforms only
Relying on driver to perform ptx compilation.
Modify $PATH to customize ptxas location.
This message will be only logged once.
Traceback (most recent call last):
File "E:\Anaconda\envs\myenv\lib\site-packages\tensorflow\python\eager\function.py", line 2688, in _convert_inputs_to_signature
check_types=False) # lists are convert to tuples for `tf.data`.
File "E:\Anaconda\envs\myenv\lib\site-packages\tensorflow\python\util\nest.py", line 952, in flatten_up_to
expand_composites=expand_composites)
File "E:\Anaconda\envs\myenv\lib\site-packages\tensorflow\python\util\nest.py", line 854, in assert_shallow_structure
input_length=len(input_tree), shallow_length=len(shallow_tree)))
ValueError: The two structures don't have the same sequence length. Input structure has length 3, while shallow structure has length 5.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "t.py", line 37, in <module>
speed_ratios=tf.constant([1.0], dtype=tf.float32)
File "E:\Anaconda\envs\myenv\lib\site-packages\tensorflow\python\eager\def_function.py", line 780, in __call__
result = self._call(*args, **kwds)
File "E:\Anaconda\envs\myenv\lib\site-packages\tensorflow\python\eager\def_function.py", line 844, in _call
*args, **kwds)
File "E:\Anaconda\envs\myenv\lib\site-packages\tensorflow\python\eager\function.py", line 2622, in canonicalize_function_inputs
self._flat_input_signature)
File "E:\Anaconda\envs\myenv\lib\site-packages\tensorflow\python\eager\function.py", line 2692, in _convert_inputs_to_signature
format_error_message(inputs, input_signature))
ValueError: Structure of Python function inputs does not match input_signature:
inputs: (
tf.Tensor(
[[ 55 42 40 42 51 57 11 55 42 56 42 38 55 40 45 11 38 57
11 45 38 55 59 38 55 41 11 45 38 56 11 56 45 52 60 51
11 50 42 41 46 57 38 57 46 51 44 11 43 52 55 11 38 56
11 49 46 57 57 49 42 11 38 56 11 42 46 44 45 57 11 60
42 42 48 56 6 11 40 38 51 11 38 40 57 58 38 49 49 62
11 46 51 40 55 42 38 56 42 11 57 45 42 11 44 55 42 62
11 50 38 57 57 42 55 11 46 51 11 57 45 42 11 53 38 55
57 56 11 52 43 11 57 45 42 11 39 55 38 46 51 11 55 42
56 53 52 51 56 46 39 49 42 11 43 52 55 11 42 50 52 57
46 52 51 38 49 11 55 42 44 58 49 38 57 46 52 51 6 11
38 51 41 11 49 42 38 55 51 46 51 44 7 148]], shape=(1, 194), dtype=int32),
tf.Tensor([0], shape=(1,), dtype=int32),
tf.Tensor([1.], shape=(1,), dtype=float32))
input_signature: (
TensorSpec(shape=(None, None), dtype=tf.int32, name='input_ids'),
TensorSpec(shape=(None,), dtype=tf.int32, name='speaker_ids'),
TensorSpec(shape=(None,), dtype=tf.float32, name='speed_ratios'),
TensorSpec(shape=(None,), dtype=tf.float32, name='f0_ratios'),
TensorSpec(shape=(None,), dtype=tf.float32, name='energy_ratios'))
Ideas?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
OS: Windows 10 Python: Anaconda
I chose your "End-to-End Example".
I changed only
using the checkpoint from https://drive.google.com/open?id=1f69ujszFeGnIy7PMwc8AkUckhIaT2OD0
I got
How do I solve this?