aboutsummaryrefslogtreecommitdiff
path: root/config/joint_simple_mlp_tgtcls_111_cswdtx_bigger_dropout.py
diff options
context:
space:
mode:
authorAlex Auvolat <alex.auvolat@ens.fr>2015-07-02 11:30:41 -0400
committerAlex Auvolat <alex.auvolat@ens.fr>2015-07-02 11:30:41 -0400
commitb637e0bc7b123fe41ea2247ebb7aa311c88b81e0 (patch)
tree0ee61c124d67a3f6e928ecea2235082df8bd323b /config/joint_simple_mlp_tgtcls_111_cswdtx_bigger_dropout.py
parent3f3ab2bfe3ebfa266d433012be1c89c722d63352 (diff)
downloadtaxi-b637e0bc7b123fe41ea2247ebb7aa311c88b81e0.tar.gz
taxi-b637e0bc7b123fe41ea2247ebb7aa311c88b81e0.zip
Step rule & dropout params cleanup
Diffstat (limited to 'config/joint_simple_mlp_tgtcls_111_cswdtx_bigger_dropout.py')
-rw-r--r--config/joint_simple_mlp_tgtcls_111_cswdtx_bigger_dropout.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/config/joint_simple_mlp_tgtcls_111_cswdtx_bigger_dropout.py b/config/joint_simple_mlp_tgtcls_111_cswdtx_bigger_dropout.py
index e1bd840..4476879 100644
--- a/config/joint_simple_mlp_tgtcls_111_cswdtx_bigger_dropout.py
+++ b/config/joint_simple_mlp_tgtcls_111_cswdtx_bigger_dropout.py
@@ -2,6 +2,9 @@ import os
import cPickle
from blocks.initialization import IsotropicGaussian, Constant
+from blocks.bricks import Rectifier, Tanh, Logistic
+from blocks.filter import VariableFilter
+from blocks import roles
import data
from model.joint_simple_mlp_tgtcls import Model, Stream
@@ -46,8 +49,8 @@ embed_weights_init = IsotropicGaussian(0.01)
mlp_weights_init = IsotropicGaussian(0.1)
mlp_biases_init = Constant(0.01)
-apply_dropout = True
-dropout_p = 0.5
+dropout = 0.5
+dropout_inputs = VariableFilter(bricks=[Rectifier], name='output')
# use adadelta, so no learning_rate or momentum
batch_size = 200