# HG changeset patch # User fsavard # Date 1271611344 14400 # Node ID 74287f0371bff2f8d68aea3f814e85fbfcb2f2f4 # Parent ed1c0830681e27117f352e8ec1925228fe6944b6 example config file needs EXPERIMENT_PATH outside isolate_experiment diff -r ed1c0830681e -r 74287f0371bf deep/crbm/mnist_config.py.example --- 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 # ----------------------------------------------------------------------------