commit 1556e9087f7e49bd75c8e236d2d3fb4fd936dc40 parent 5f42c01231ccec377196472b6f4682b6afeb878d Author: Alex Auvolat <alex.auvolat@ens.fr> Date: Mon, 4 May 2015 17:27:56 -0400 Fix it Diffstat:
M | config/simple_mlp_tgtcls_0.py | | | 2 | +- |
M | model/simple_mlp_tgtcls.py | | | 4 | ---- |
2 files changed, 1 insertion(+), 5 deletions(-)
diff --git a/config/simple_mlp_tgtcls_0.py b/config/simple_mlp_tgtcls_0.py @@ -17,7 +17,7 @@ with open(data.DATA_PATH + "/arrival-clusters.pkl") as f: tgtcls = cPickle.load( dim_embed = 10 dim_input = n_begin_end_pts * 2 * 2 + dim_embed + dim_embed -dim_hidden = [200] +dim_hidden = [] dim_output = tgtcls.shape[0] learning_rate = 0.0001 diff --git a/model/simple_mlp_tgtcls.py b/model/simple_mlp_tgtcls.py @@ -44,10 +44,6 @@ class Model(object): cls_probas = mlp.apply(inputs) outputs = tensor.dot(cls_probas, classes) - # Normalize & Center - # outputs = theano.printing.Print("normal_outputs")(outputs) - outputs = data.data_std * outputs + data.porto_center - # outputs = theano.printing.Print("outputs")(outputs) # y = theano.printing.Print("y")(y)