Mercurial > ift6266
comparison 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 |
comparison
equal
deleted
inserted
replaced
295:a6b6b1140de9 | 298:a222af1d0598 |
---|---|
45 out_size=62, | 45 out_size=62, |
46 dtype=numpy.float32, | 46 dtype=numpy.float32, |
47 pretrain_lr=state.pretrain_lr, | 47 pretrain_lr=state.pretrain_lr, |
48 train_lr=state.train_lr) | 48 train_lr=state.train_lr) |
49 | 49 |
50 t_it = repeat_itf(dset.train, state.bsize) | |
50 pretrain_fs, train, valid, test = massage_funcs( | 51 pretrain_fs, train, valid, test = massage_funcs( |
51 repeat_itf(dset.train, state.bsize), | 52 t_it, t_it, dset, state.bsize, |
52 dset, state.bsize, | |
53 pretrain_funcs, trainf,evalf) | 53 pretrain_funcs, trainf,evalf) |
54 | 54 |
55 series = create_series() | 55 series = create_series() |
56 | 56 |
57 print "pretraining ..." | 57 print "pretraining ..." |