Mercurial > ift6266
comparison deep/stacked_dae/v2/nist_sda.py @ 228:851e7ad4a143
Corrigé une erreur dans la formule de coût modifiée dans stacked_dae, et enlevé des timers dans sgd_optimization
author | fsavard |
---|---|
date | Fri, 12 Mar 2010 10:47:36 -0500 |
parents | acae439d6572 |
children | 02eb98d051fe |
comparison
equal
deleted
inserted
replaced
227:acae439d6572 | 228:851e7ad4a143 |
---|---|
33 # GLOBALS | 33 # GLOBALS |
34 | 34 |
35 TEST_CONFIG = False | 35 TEST_CONFIG = False |
36 | 36 |
37 NIST_ALL_LOCATION = '/data/lisa/data/nist/by_class/all' | 37 NIST_ALL_LOCATION = '/data/lisa/data/nist/by_class/all' |
38 JOBDB = 'postgres://ift6266h10@gershwin/ift6266h10_db/fsavard_sda4' | 38 JOBDB = 'postgres://ift6266h10@gershwin/ift6266h10_sandbox_db/fsavard_sda_v2' |
39 EXPERIMENT_PATH = "ift6266.deep.stacked_dae.nist_sda.jobman_entrypoint" | 39 EXPERIMENT_PATH = "ift6266.deep.stacked_dae.v2.nist_sda.jobman_entrypoint" |
40 | 40 |
41 REDUCE_TRAIN_TO = None | 41 REDUCE_TRAIN_TO = None |
42 MAX_FINETUNING_EPOCHS = 1000 | 42 MAX_FINETUNING_EPOCHS = 1000 |
43 # number of minibatches before taking means for valid error etc. | 43 # number of minibatches before taking means for valid error etc. |
44 REDUCE_EVERY = 100 | 44 REDUCE_EVERY = 100 |
72 'reduce_train_to':30000, | 72 'reduce_train_to':30000, |
73 'num_hidden_layers':1}) | 73 'num_hidden_layers':1}) |
74 | 74 |
75 ''' | 75 ''' |
76 Function called by jobman upon launching each job | 76 Function called by jobman upon launching each job |
77 Its path is the one given when inserting jobs: | 77 Its path is the one given when inserting jobs: see EXPERIMENT_PATH |
78 ift6266.deep.stacked_dae.nist_sda.jobman_entrypoint | |
79 ''' | 78 ''' |
80 def jobman_entrypoint(state, channel): | 79 def jobman_entrypoint(state, channel): |
81 # record mercurial versions of each package | 80 # record mercurial versions of each package |
82 pylearn.version.record_versions(state,[theano,ift6266,pylearn]) | 81 pylearn.version.record_versions(state,[theano,ift6266,pylearn]) |
83 # TODO: remove this, bad for number of simultaneous requests on DB | 82 # TODO: remove this, bad for number of simultaneous requests on DB |