changeset 300:6eab220a7d70

Adjust sgd_opt parameters and use nist_all.
author Arnaud Bergeron <abergeron@gmail.com>
date Mon, 29 Mar 2010 17:54:01 -0400
parents a9af079892ce
children be45e7db7cd4
files deep/convolutional_dae/run_exp.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/deep/convolutional_dae/run_exp.py	Mon Mar 29 17:42:44 2010 -0400
+++ b/deep/convolutional_dae/run_exp.py	Mon Mar 29 17:54:01 2010 -0400
@@ -18,7 +18,7 @@
     # TODO: maybe record pynnet version?
     channel.save()
 
-    dset = datasets.nist_digits()
+    dset = datasets.nist_all()
 
     nfilts = []
     if state.nfilts1 != 0:
@@ -61,10 +61,10 @@
     print "training ..."
     sys.stdout.flush()
     best_valid, test_score = sgd_opt(train, valid, test,
-                                     training_epochs=100000, patience=10000,
+                                     training_epochs=1000000, patience=2500,
                                      patience_increase=2.,
                                      improvement_threshold=0.995,
-                                     validation_frequency=1000,
+                                     validation_frequency=500,
                                      series=series, net=net)
     state.best_valid = best_valid
     state.test_score = test_score