diff deep/convolutional_dae/run_exp.py @ 298:a222af1d0598

- Adapt to scdae to input_shape change in pynnet - Use the proper dataset in run_exp
author Arnaud Bergeron <abergeron@gmail.com>
date Mon, 29 Mar 2010 17:36:22 -0400
parents 8babd43235dd
children 6eab220a7d70
line wrap: on
line diff
--- a/deep/convolutional_dae/run_exp.py	Mon Mar 29 09:18:54 2010 -0400
+++ b/deep/convolutional_dae/run_exp.py	Mon Mar 29 17:36:22 2010 -0400
@@ -47,9 +47,9 @@
         pretrain_lr=state.pretrain_lr,
         train_lr=state.train_lr)
 
+    t_it = repeat_itf(dset.train, state.bsize)
     pretrain_fs, train, valid, test = massage_funcs(
-        repeat_itf(dset.train, state.bsize), 
-        dset, state.bsize, 
+        t_it, t_it, dset, state.bsize, 
         pretrain_funcs, trainf,evalf)
 
     series = create_series()