# HG changeset patch # User xaviermuller # Date 1271876829 14400 # Node ID 76b7182dd32e33f2f6ea3c5f13d33a517a0d86c5 # Parent ffc06af1c5430b4a804648f4652104e1ecdcc855 added support for pnist in iterator. corrected a print bug in mlp diff -r ffc06af1c543 -r 76b7182dd32e baseline/mlp/mlp_nist.py --- a/baseline/mlp/mlp_nist.py Wed Apr 21 14:54:54 2010 -0400 +++ b/baseline/mlp/mlp_nist.py Wed Apr 21 15:07:09 2010 -0400 @@ -23,6 +23,7 @@ """ __docformat__ = 'restructedtext en' +import sys import pdb import numpy import pylab @@ -372,8 +373,9 @@ - if verbose == 1: - print 'starting training' + + print 'starting training' + sys.stdout.flush() while(minibatch_index*batch_size