barronalex / Tacotron

Implementation of Google's Tacotron in TensorFlow
236 stars 80 forks source link

Why not use the mean of the loss? #5

Closed auzxb closed 7 years ago

auzxb commented 7 years ago

Why not use the mean of loss like this?(https://github.com/barronalex/Tacotron/blob/master/models/tacotron.py#L136)

    seq2seq_loss = tf.reduce_mean(tf.abs(seq2seq_output - mel))
    output_loss = tf.reduce_mean(tf.abs(output - linear))