changeset 377:0b7e64e8e93f

branch merge
author Arnaud Bergeron <abergeron@gmail.com>
date Sun, 25 Apr 2010 17:12:03 -0400
parents 01445a75c702 (diff) e36ccffb3870 (current diff)
children 60a4432b8071
files
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/deep/convolutional_dae/run_exp.py	Sun Apr 25 14:53:10 2010 -0400
+++ b/deep/convolutional_dae/run_exp.py	Sun Apr 25 17:12:03 2010 -0400
@@ -22,16 +22,20 @@
     dset = datasets.nist_P07()
 
     nfilts = []
+    fsizes = []
     if state.nfilts1 != 0:
         nfilts.append(state.nfilts1)
+        fsizes.append((5,5))
         if state.nfilts2 != 0:
             nfilts.append(state.nfilts2)
+            fsizes.append((3,3))
             if state.nfilts3 != 0:
                 nfilts.append(state.nfilts3)
+                fsizes.append((3,3))
                 if state.nfilts4 != 0:
                     nfilts.append(state.nfilts4)
+                    fsizes.append((2,2))
 
-    fsizes = [(5,5)]*len(nfilts)
     subs = [(2,2)]*len(nfilts)
     noise = [state.noise]*len(nfilts)