# HG changeset patch # User Arnaud Bergeron # Date 1271275564 14400 # Node ID 69109e41983edb3334613818cc0c73749992052a # Parent 5b260cc8f477d020a95ad7890d0dbd674d05f9a0 Adapt parameters (especially the number of epochs) to P07 diff -r 5b260cc8f477 -r 69109e41983e deep/convolutional_dae/run_exp.py --- 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,