-
Notifications
You must be signed in to change notification settings - Fork 40
/
Copy pathcifar_grbm_nce.yaml
36 lines (33 loc) · 1.47 KB
/
cifar_grbm_nce.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
!obj:pylearn2.scripts.train.Train {
"dataset": &training_data !pkl: "/data/lisatmp/goodfeli/cifar10_preprocessed_train_2M.pkl",
"model": !obj:pylearn2.models.normalized_ebm.NormalizedEBM {
"init_logZ" : 0.,
"learn_logZ" : 1,
"logZ_lr_scale" : .001,
"ebm" : !obj:pylearn2.models.rbm.GaussianBinaryRBM {
"nvis" : 192,
"nhid" : 400,
"irange" : 0.05,
"energy_function_class" : !obj:pylearn2.energy_functions.rbm_energy.grbm_type_1 {},
"learn_sigma" : True,
"init_sigma" : .4,
"init_bias_hid" : -2.,
"mean_vis" : False,
"sigma_lr_scale" : 1e-3
}
},
"algorithm": !obj:pylearn2.training_algorithms.sgd.SGD {
"learning_rate" : 1e-3,
"batch_size" : 50,
"batches_per_iter" : 200,
"monitoring_batches" : 2,
"monitoring_dataset" : !pkl: "/data/lisatmp/goodfeli/cifar10_preprocessed_train_2M.pkl",
"cost" : !obj:pylearn2.costs.ebm_estimation.NCE {
"noise" : !obj:pylearn2.distributions.mnd.fit {
"dataset" : *training_data,
"n_samples" : 2000000
}
}
},
"save_path": "cifar_grbm_nce.pkl"
}