Giter Club home page Giter Club logo

Comments (2)

xionghan1 avatar xionghan1 commented on June 12, 2024

it can be performed when I add a quotation mark......
(task) E:\tensorflow\Tacotron-2>python train.py --model="Tacotron-2"
WARNING:tensorflow:
The TensorFlow contrib module will not be included in TensorFlow 2.0.
For more information, please see:

WARNING:tensorflow:From E:\tensorflow\Tacotron-2\tacotron\models\modules.py:81: The name tf.nn.rnn_cell.RNNCell is deprecated. Please use tf.compat.v1.nn.rnn_cell.RNNCell instead.

Using TensorFlow backend.
WARNING:tensorflow:From E:\tensorflow\Tacotron-2\wavenet_vocoder\models\modules.py:539: The name tf.layers.Conv2D is deprecated. Please use tf.compat.v1.layers.Conv2D instead.

WARNING:tensorflow:From E:\tensorflow\Tacotron-2\wavenet_vocoder\models\modules.py:697: The name tf.layers.Conv2DTranspose is deprecated. Please use tf.compat.v1.layers.Conv2DTranspose instead.

#############################################################

Tacotron Train

###########################################################

Checkpoint path: logs-Tacotron-2\taco_pretrained\tacotron_model.ckpt
Loading training data from: training_data/train.txt
Using model: Tacotron-2
Hyperparameters:
GL_on_GPU: True
NN_init: True
NN_scaler: 0.3
allow_clipping_in_normalization: True
attention_dim: 128
attention_filters: 32
attention_kernel: (31,)
attention_win_size: 7
batch_norm_position: after
cbhg_conv_channels: 128
cbhg_highway_units: 128
......

but it still has errors,

Errors may have originated from an input operation.
Input Source operations connected to node datafeeder/input_queue_enqueue:
datafeeder/input_queue (defined at E:\tensorflow\Tacotron-2\tacotron\feeder.py:85)
datafeeder/split_infos (defined at E:\tensorflow\Tacotron-2\tacotron\feeder.py:81)
datafeeder/targets_lengths (defined at E:\tensorflow\Tacotron-2\tacotron\feeder.py:80)
datafeeder/input_lengths (defined at E:\tensorflow\Tacotron-2\tacotron\feeder.py:76)
datafeeder/token_targets (defined at E:\tensorflow\Tacotron-2\tacotron\feeder.py:78)
datafeeder/inputs (defined at E:\tensorflow\Tacotron-2\tacotron\feeder.py:75)
datafeeder/linear_targets (defined at E:\tensorflow\Tacotron-2\tacotron\feeder.py:79)
datafeeder/mel_targets (defined at E:\tensorflow\Tacotron-2\tacotron\feeder.py:77)

Original stack trace for 'datafeeder/input_queue_enqueue':
File "train.py", line 138, in
main()
File "train.py", line 132, in main
train(args, log_dir, hparams)
File "train.py", line 52, in train
checkpoint = tacotron_train(args, log_dir, hparams)
File "E:\tensorflow\Tacotron-2\tacotron\train.py", line 399, in tacotron_train
return train(log_dir, args, hparams)
File "E:\tensorflow\Tacotron-2\tacotron\train.py", line 152, in train
feeder = Feeder(coord, input_path, hparams)
File "E:\tensorflow\Tacotron-2\tacotron\feeder.py", line 86, in init
self._enqueue_op = queue.enqueue(self._placeholders)
File "C:\Users\lenovo.conda\envs\task\lib\site-packages\tensorflow\python\ops\data_flow_ops.py", line 345, in enqueue
self._queue_ref, vals, name=scope)
File "C:\Users\lenovo.conda\envs\task\lib\site-packages\tensorflow\python\ops\gen_data_flow_ops.py", line 4410, in queue_enqueue_v2
timeout_ms=timeout_ms, name=name)
File "C:\Users\lenovo.conda\envs\task\lib\site-packages\tensorflow\python\framework\op_def_library.py", line 788, in _apply_op_helper
op_def=op_def)
File "C:\Users\lenovo.conda\envs\task\lib\site-packages\tensorflow\python\util\deprecation.py", line 507, in new_func
return func(*args, **kwargs)
File "C:\Users\lenovo.conda\envs\task\lib\site-packages\tensorflow\python\framework\ops.py", line 3616, in create_op
op_def=op_def)
File "C:\Users\lenovo.conda\envs\task\lib\site-packages\tensorflow\python\framework\ops.py", line 2005, in init
self._traceback = tf_stack.extract_stack()

Traceback (most recent call last):
File "train.py", line 138, in
main()
File "train.py", line 132, in main
train(args, log_dir, hparams)
File "train.py", line 57, in train
raise('Error occured while training Tacotron, Exiting!')
TypeError: exceptions must derive from BaseException

from tacotron-2.

xionghan1 avatar xionghan1 commented on June 12, 2024

set batch_size=4; in hparams.py

from tacotron-2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.