-
Notifications
You must be signed in to change notification settings - Fork 40
/
Copy pathbasic_mnist.yaml
37 lines (36 loc) · 1.24 KB
/
basic_mnist.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
!obj:pylearn2.scripts.train.Train {
dataset: &train !obj:pylearn2.datasets.mnist.MNIST {
which_set: "train",
binarize: 1,
one_hot: 1,
start: 0,
stop: 50000
},
model: !obj:galatea.sample_prop.basic.SimpleModel {
nvis: 784,
num_hid: 500,
num_class: 10
},
algorithm: !obj:pylearn2.training_algorithms.bgd.BGD {
batch_size: 10000,
set_batch_size: 1,
updates_per_batch: 3,
reset_alpha: 1,
hacky_conjugacy: 1,
reset_conjugate: 0,
monitoring_dataset: {
'train' : *train,
'valid' : !obj:pylearn2.datasets.mnist.MNIST {
which_set: "train",
binarize: 1,
one_hot: 1,
start: 50000,
stop: 60000
}
},
cost : !obj:galatea.sample_prop.basic.SamplingCost {
},
},
save_path: "${PYLEARN2_TRAIN_FILE_FULL_STEM}.pkl",
save_freq : 1
}