# HG changeset patch # User humel # Date 1271980625 14400 # Node ID 22919039f7abcffa68f504330636dc62798ad2e4 # Parent c05680f8c92f304c89d1c0ad1af60abba0602e18# Parent 7bc555cc9aab0df269d2bcf79d2745e7392b3d21 Fixing a wrong commit and committing more files. diff -r 7bc555cc9aab -r 22919039f7ab baseline/mlp/mlp_nist.py --- a/baseline/mlp/mlp_nist.py Mon Apr 19 07:09:44 2010 -0400 +++ b/baseline/mlp/mlp_nist.py Thu Apr 22 19:57:05 2010 -0400 @@ -23,6 +23,7 @@ """ __docformat__ = 'restructedtext en' +import sys import pdb import numpy import pylab @@ -268,6 +269,8 @@ dataset=datasets.nist_all() elif data_set==1: dataset=datasets.nist_P07() + elif data_set==2: + dataset=datasets.PNIST07() @@ -370,8 +373,9 @@ - if verbose == 1: - print 'starting training' + + print 'starting training' + sys.stdout.flush() while(minibatch_index*batch_size