comparison deep/stacked_dae/v_sylvain/nist_sda.py @ 390:7c201ca1484f

Correction d'un bug mineurpour le nom de la serie h5
author SylvainPL <sylvain.pannetier.lebeuf@umontreal.ca>
date Tue, 27 Apr 2010 08:55:16 -0400
parents 8875853b5bfc
children c91d7b67fa41
comparison
equal deleted inserted replaced
389:88cb95007670 390:7c201ca1484f
72 nom_serie = "" 72 nom_serie = ""
73 if state['pretrain_choice'] == 0: 73 if state['pretrain_choice'] == 0:
74 nom_serie="series_NIST.h5" 74 nom_serie="series_NIST.h5"
75 elif state['pretrain_choice'] == 1: 75 elif state['pretrain_choice'] == 1:
76 nom_serie="series_P07.h5" 76 nom_serie="series_P07.h5"
77 elif state['pretrain_choice'] == 2:
78 nom_serie="series_PNIST.h5"
77 79
78 series = create_series(state.num_hidden_layers,nom_serie) 80 series = create_series(state.num_hidden_layers,nom_serie)
79 81
80 82
81 print "Creating optimizer with state, ", state 83 print "Creating optimizer with state, ", state