aboutsummaryrefslogtreecommitdiff
path: root/train.py
diff options
context:
space:
mode:
Diffstat (limited to 'train.py')
-rwxr-xr-xtrain.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/train.py b/train.py
index 1b01833..d40cb88 100755
--- a/train.py
+++ b/train.py
@@ -14,6 +14,8 @@ from blocks import roles
from blocks.algorithms import AdaDelta, CompositeRule, GradientDescent, RemoveNotFinite, StepRule, Momentum
from blocks.extensions import Printing, FinishAfter, SimpleExtension
from blocks.extensions.monitoring import DataStreamMonitoring, TrainingDataMonitoring
+import blocks
+blocks.config.default_seed = 123
try:
from blocks.extras.extensions.plotting import Plot