Skip to content

Commit

Permalink
add natural/guided eval option
Browse files Browse the repository at this point in the history
  • Loading branch information
Rayhane-mamah authored May 23, 2018
1 parent d375c67 commit 4c778e1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hparams.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@

tacotron_zoneout_rate = 0.1, #zoneout rate for all LSTM cells in the network
tacotron_dropout_rate = 0.5, #dropout rate for all convolutional layers + prenet

natural_eval = True, #Whether to use 100% natural eval (to evaluate Curriculum Learning performance) or with same teacher-forcing ratio as training (just for overfit)

#Decoder RNN learning can take be done in one of two ways:
# Teacher Forcing: vanilla teacher forcing (usually with ratio = 1). mode='constant'
Expand Down Expand Up @@ -224,4 +226,4 @@
def hparams_debug_string():
values = hparams.values()
hp = [' %s: %s' % (name, values[name]) for name in sorted(values) if name != 'sentences']
return 'Hyperparameters:\n' + '\n'.join(hp)
return 'Hyperparameters:\n' + '\n'.join(hp)

0 comments on commit 4c778e1

Please sign in to comment.