diff deep/crbm/mnist_config.py.example @ 345:74287f0371bf

example config file needs EXPERIMENT_PATH outside isolate_experiment
author fsavard
date Sun, 18 Apr 2010 13:22:24 -0400
parents 523e7b87c521
children 64fa85d68923
line wrap: on
line diff
--- a/deep/crbm/mnist_config.py.example	Sun Apr 18 13:21:21 2010 -0400
+++ b/deep/crbm/mnist_config.py.example	Sun Apr 18 13:22:24 2010 -0400
@@ -1,6 +1,11 @@
 # ----------------------------------------------------------------------------
 # BEGIN EXPERIMENT ISOLATION CODE
 
+# Path to pass to jobman sqlschedule. IMPORTANT TO CHANGE TO REFLECT YOUR CLONE.
+# Make sure this is accessible from the default $PYTHONPATH (in your .bashrc)
+# (and make sure every subdirectory has its __init__.py file)
+EXPERIMENT_PATH = "ift6266_mnistcrbm_exp1.ift6266.deep.crbm.mnist_crbm.jobman_entrypoint"
+
 def isolate_experiment():
     '''
     This makes sure we use the codebase clone created for this experiment.
@@ -35,11 +40,6 @@
         if not codebase_clone_path in module.__path__[0]:
             raise RuntimeError("Module loaded from incorrect path "+module.__path__[0])
 
-    # Path to pass to jobman sqlschedule. IMPORTANT TO CHANGE TO REFLECT YOUR CLONE.
-    # Make sure this is accessible from the default $PYTHONPATH (in your .bashrc)
-    # (and make sure every subdirectory has its __init__.py file)
-    EXPERIMENT_PATH = "ift6266_mnistcrbm_exp1.ift6266.deep.crbm.mnist_crbm.jobman_entrypoint"
-
 # END EXPERIMENT ISOLATION CODE
 # ----------------------------------------------------------------------------