comparison deep/stacked_dae/v2/sgd_optimization.py @ 242:8a00764ea8a4

Enlevé printout de débuggage
author fsavard
date Tue, 16 Mar 2010 12:00:51 -0400
parents f213a0fb2b08
children
comparison
equal deleted inserted replaced
240:f213a0fb2b08 242:8a00764ea8a4
96 c = self.classifier.pretrain_functions[i](x) 96 c = self.classifier.pretrain_functions[i](x)
97 97
98 self.series["reconstruction_error"].append((epoch, batch_index), c) 98 self.series["reconstruction_error"].append((epoch, batch_index), c)
99 batch_index+=1 99 batch_index+=1
100 100
101 if batch_index % 100 == 0: 101 #if batch_index % 100 == 0:
102 print "100 batches" 102 # print "100 batches"
103 103
104 # useful when doing tests 104 # useful when doing tests
105 if self.max_minibatches and batch_index >= self.max_minibatches: 105 if self.max_minibatches and batch_index >= self.max_minibatches:
106 break 106 break
107 107