diff deep/stacked_dae/v2/sgd_optimization.py @ 229:02eb98d051fe

Corrigé bug avec nouvelle formule de coût et printout pour cas sur CPU
author fsavard
date Fri, 12 Mar 2010 11:03:51 -0500
parents 851e7ad4a143
children 42005ec87747
line wrap: on
line diff
--- a/deep/stacked_dae/v2/sgd_optimization.py	Fri Mar 12 10:47:36 2010 -0500
+++ b/deep/stacked_dae/v2/sgd_optimization.py	Fri Mar 12 11:03:51 2010 -0500
@@ -25,6 +25,7 @@
         shared_y = theano.shared(numpy.asarray(data_y, dtype=theano.config.floatX))
         shared_y = T.cast(shared_y, 'int32')
     else:
+        print "WILL RUN ON CPU, NOT GPU, SO DATASETS REMAIN IN BYTES"
         shared_x = theano.shared(data_x)
         shared_y = theano.shared(data_y)
     return shared_x, shared_y