changeset 308:a76bae0f2388

Ajout d'une ligne d'impression importante
author SylvainPL <sylvain.pannetier.lebeuf@umontreal.ca>
date Thu, 01 Apr 2010 09:12:48 -0400
parents ed0443f7aad4
children 60cacb9a70e4
files deep/stacked_dae/v_sylvain/nist_sda_retrieve.py
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/deep/stacked_dae/v_sylvain/nist_sda_retrieve.py	Wed Mar 31 21:03:41 2010 -0400
+++ b/deep/stacked_dae/v_sylvain/nist_sda_retrieve.py	Thu Apr 01 09:12:48 2010 -0400
@@ -83,12 +83,16 @@
 ##             "or reduce the number of pretraining epoch to run the code (better idea).\n")
 ##        print('\n\tpretraining with P07')
 ##        optimizer.pretrain(datasets.nist_P07(min_file=0,max_file=nb_file)) 
-    print ('Retrieve pre-train done earlier')
-    
     if state['pretrain_choice'] == 0:
         PATH=PATH_NIST
+        nom_pretrain='NIST'
     elif state['pretrain_choice'] == 1:
         PATH=PATH_P07
+        nom_pretrain='P07'
+    
+    print ('Retrieve pre-train done earlier ( '+nom_pretrain+' )')
+    
+
         
     sys.stdout.flush()
     channel.save()