Skip to content

Commit

Permalink
Fix indexing error in dropout rates.
Browse files Browse the repository at this point in the history
  • Loading branch information
mdenil committed Jul 8, 2014
1 parent 6f8c362 commit c99292e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mlp.py
Expand Up @@ -117,7 +117,7 @@ def __init__(self,
input=next_dropout_layer_input,
activation=activations[layer_counter],
n_in=n_in, n_out=n_out, use_bias=use_bias,
dropout_rate=dropout_rates[layer_counter])
dropout_rate=dropout_rates[layer_counter + 1])
self.dropout_layers.append(next_dropout_layer)
next_dropout_layer_input = next_dropout_layer.output

Expand Down

0 comments on commit c99292e

Please sign in to comment.