diff deep/stacked_dae/v_sylvain/nist_sda_retrieve.py @ 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 a78dbbc61f37
children 8b31280129a9
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()