Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while running synthesizer_train.py #5

Open
narendranp opened this issue Jul 8, 2021 · 0 comments
Open

Error while running synthesizer_train.py #5

narendranp opened this issue Jul 8, 2021 · 0 comments

Comments

@narendranp
Copy link

Hi,

When I running python3 synthesizer_train.py vc_adversarial VC_basedir/SV2TTS/synthesizer_train/ , I getting the following error. By reading the error, I can understand that process stops at "expanded_g = tf.expand_dims(g, 0)" in tacotron.py. I am unable to understand how to overcome this error. Can you please help me solve the above issue.

Traceback (most recent call last):
File "/home/ubuntu/anaconda3/envs/vc-speech/lib/python3.7/site-packages/tensorflow/python/framework/op_def_library.py", line 525, in _apply_op_helper
values, as_ref=input_arg.is_ref).dtype.name
File "/home/ubuntu/anaconda3/envs/vc-speech/lib/python3.7/site-packages/tensorflow/python/framework/ops.py", line 1175, in internal_convert_to_tensor
ret = conversion_func(value, dtype=dtype, name=name, as_ref=as_ref)
File "/home/ubuntu/anaconda3/envs/vc-speech/lib/python3.7/site-packages/tensorflow/python/framework/constant_op.py", line 304, in _constant_tensor_conversion_function
return constant(v, dtype=dtype, name=name)
File "/home/ubuntu/anaconda3/envs/vc-speech/lib/python3.7/site-packages/tensorflow/python/framework/constant_op.py", line 245, in constant
allow_broadcast=True)
File "/home/ubuntu/anaconda3/envs/vc-speech/lib/python3.7/site-packages/tensorflow/python/framework/constant_op.py", line 283, in _constant_impl
allow_broadcast=allow_broadcast))
File "/home/ubuntu/anaconda3/envs/vc-speech/lib/python3.7/site-packages/tensorflow/python/framework/tensor_util.py", line 454, in make_tensor_proto
raise ValueError("None values not supported.")
ValueError: None values not supported.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "synthesizer_train.py", line 55, in
tacotron_train(args, log_dir, hparams)
File "/home/ubuntu/narendra/Adversarial-Many-to-Many-VC-master/synthesizer/train.py", line 407, in tacotron_train
return train(log_dir, args, hparams)
File "/home/ubuntu/narendra/Adversarial-Many-to-Many-VC-master/synthesizer/train.py", line 158, in train
model, stats = model_train_mode(args, feeder, hparams, global_step)
File "/home/ubuntu/narendra/Adversarial-Many-to-Many-VC-master/synthesizer/train.py", line 98, in model_train_mode
model.add_optimizer(global_step)
File "/home/ubuntu/narendra/Adversarial-Many-to-Many-VC-master/synthesizer/models/tacotron.py", line 527, in add_optimizer
expanded_g = tf.expand_dims(g, 0)
File "/home/ubuntu/anaconda3/envs/vc-speech/lib/python3.7/site-packages/tensorflow/python/util/dispatch.py", line 180, in wrapper
return target(*args, **kwargs)
File "/home/ubuntu/anaconda3/envs/vc-speech/lib/python3.7/site-packages/tensorflow/python/util/deprecation.py", line 507, in new_func
return func(*args, **kwargs)
File "/home/ubuntu/anaconda3/envs/vc-speech/lib/python3.7/site-packages/tensorflow/python/ops/array_ops.py", line 144, in expand_dims
return expand_dims_v2(input, axis, name)
File "/home/ubuntu/anaconda3/envs/vc-speech/lib/python3.7/site-packages/tensorflow/python/util/dispatch.py", line 180, in wrapper
return target(*args, **kwargs)
File "/home/ubuntu/anaconda3/envs/vc-speech/lib/python3.7/site-packages/tensorflow/python/ops/array_ops.py", line 194, in expand_dims_v2
return gen_array_ops.expand_dims(input, axis, name)
File "/home/ubuntu/anaconda3/envs/vc-speech/lib/python3.7/site-packages/tensorflow/python/ops/gen_array_ops.py", line 2285, in expand_dims
"ExpandDims", input=input, dim=axis, name=name)
File "/home/ubuntu/anaconda3/envs/vc-speech/lib/python3.7/site-packages/tensorflow/python/framework/op_def_library.py", line 529, in _apply_op_helper
(input_name, err))
ValueError: Tried to convert 'input' to a tensor and failed. Error: None values not supported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant