diff transformations/pipeline.py @ 116:3bec123dd75d

changes on pipeline mecanism: we now sample a different complexity for each transformations, this because when we use the same sampled complexity for all the modules 1/8 of the time we are close to 0 and we obtain an image very close to the source, we now save a complexity for each module in the parameters array
author Xavier Glorot <glorotxa@iro.umontreal.ca>
date Wed, 17 Feb 2010 16:22:54 -0500
parents b84a0d009af8
children ccce06590e64
line wrap: on
line diff
--- a/transformations/pipeline.py	Wed Feb 17 16:20:15 2010 -0500
+++ b/transformations/pipeline.py	Wed Feb 17 16:22:54 2010 -0500
@@ -120,8 +120,6 @@
 
             param_idx = 0
             mod_idx = 0
-            # store complexity along with other params
-            self.params[global_idx, 0] = complexity
             for mod in self.modules:
                 # This used to be done _per batch_,
                 # ie. out of the "for img" loop