From 6cf80aff3e4dc57d13a33c2946bc0ae57cfae6b8 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Thu, 2 Jul 2015 14:32:23 -0400 Subject: More determinism --- model/mlp.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'model') diff --git a/model/mlp.py b/model/mlp.py index a6f3991..7e7d092 100644 --- a/model/mlp.py +++ b/model/mlp.py @@ -1,5 +1,8 @@ from theano import tensor +import fuel +import blocks + from fuel.transformers import Batch, MultiProcessing from fuel.streams import DataStream from fuel.schemes import ConstantScheme, ShuffledExampleScheme @@ -11,6 +14,8 @@ from data.hdf5 import TaxiDataset, TaxiStream from data.cut import TaxiTimeCutScheme from model import ContextEmbedder +blocks.config.default_seed = 123 +fuel.config.default_seed = 123 class FFMLP(Initializable): def __init__(self, config, output_layer=None, **kwargs): -- cgit v1.2.3