changeset 419:c91d7b67fa41

Correction d'une petite erreur dans le nom des fichiers de parametres de pretrain
author SylvainPL <sylvain.pannetier.lebeuf@umontreal.ca>
date Fri, 30 Apr 2010 14:48:08 -0400
parents fb028b37ce92
children 0ffef3667865 e7790db265b1
files deep/stacked_dae/v_sylvain/nist_sda.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/deep/stacked_dae/v_sylvain/nist_sda.py	Fri Apr 30 14:47:25 2010 -0400
+++ b/deep/stacked_dae/v_sylvain/nist_sda.py	Fri Apr 30 14:48:08 2010 -0400
@@ -158,7 +158,7 @@
         optimizer.finetune(datasets.nist_all(),datasets.nist_P07(),max_finetune_epoch_NIST,ind_test=1,special=1,decrease=decrease_lr)
     if finetune_choice == 4:
         print ('\n\n\tFinetune with PNIST07 then NIST\n\n')
-        optimizer.reload_parameters('params)pretrain.txt')
+        optimizer.reload_parameters('params_pretrain.txt')
         optimizer.finetune(datasets.PNIST07(),datasets.nist_all(),max_finetune_epoch_NIST,ind_test=30,decrease=decrease_lr,dataset_test2=datasets.nist_P07())    
         optimizer.finetune(datasets.nist_all(),datasets.PNIST07(),max_finetune_epoch_NIST,ind_test=31,decrease=decrease_lr,dataset_test2=datasets.nist_P07())    
         
@@ -187,7 +187,7 @@
         channel.save()
         print ('\n\n\tFinetune with PNIST07\n\n')
         sys.stdout.flush()
-        optimizer.reload_parameters('params)pretrain.txt')
+        optimizer.reload_parameters('params_pretrain.txt')
         optimizer.finetune(datasets.PNIST07(),datasets.nist_all(),max_finetune_epoch_NIST,ind_test=2,decrease=decrease_lr,dataset_test2=datasets.nist_P07())    
         channel.save()
         sys.stdout.flush()