comparison deep/convolutional_dae/run_exp.py @ 292:8108d271c30c

Fix stuff (imports, ...) so that it can run under jobman properly.
author Arnaud Bergeron <abergeron@gmail.com>
date Fri, 26 Mar 2010 18:49:27 -0400
parents 7d1fa2d7721c
children d89820070ea0
comparison
equal deleted inserted replaced
291:7d1fa2d7721c 292:8108d271c30c
45 dtype=numpy.float32, 45 dtype=numpy.float32,
46 pretrain_lr=state.pretrain_lr, 46 pretrain_lr=state.pretrain_lr,
47 train_lr=state.train_lr) 47 train_lr=state.train_lr)
48 48
49 pretrain_fs, train, valid, test = massage_funcs( 49 pretrain_fs, train, valid, test = massage_funcs(
50 state.bsize, dset, pretrain_funcs, trainf, evalf) 50 repeat_itf(dset.train, state.bsize),
51 dset, state.bsize,
52 pretrain_funcs, trainf,evalf)
51 53
52 series = create_series() 54 series = create_series()
53 55
54 do_pretrain(pretrain_fs, state.pretrain_rounds, series['recons_error']) 56 do_pretrain(pretrain_fs, state.pretrain_rounds, series['recons_error'])
55 57