changeset 333:69109e41983e

Adapt parameters (especially the number of epochs) to P07
author Arnaud Bergeron <abergeron@gmail.com>
date Wed, 14 Apr 2010 16:06:04 -0400
parents 5b260cc8f477
children 6143b23e2610
files deep/convolutional_dae/run_exp.py
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/deep/convolutional_dae/run_exp.py	Wed Apr 14 11:51:18 2010 -0400
+++ b/deep/convolutional_dae/run_exp.py	Wed Apr 14 16:06:04 2010 -0400
@@ -1,6 +1,7 @@
 from ift6266.deep.convolutional_dae.scdae import *
 
 class dumb(object):
+    COMPLETE = None
     def save(self):
         pass
 
@@ -18,7 +19,7 @@
     # TODO: maybe record pynnet version?
     channel.save()
 
-    dset = datasets.nist_all()
+    dset = datasets.nist_P07()
 
     nfilts = []
     if state.nfilts1 != 0:
@@ -61,7 +62,7 @@
     print "training ..."
     sys.stdout.flush()
     best_valid, test_score = sgd_opt(train, valid, test,
-                                     training_epochs=1000000, patience=2500,
+                                     training_epochs=800000, patience=2000,
                                      patience_increase=2.,
                                      improvement_threshold=0.995,
                                      validation_frequency=500,