Mercurial > pylearn
view pylearn/datasets/config.py @ 617:5120bf7c4694
More complete version of shapeset1 dataset.
author | lamblinp@ip03.m |
---|---|
date | Sat, 17 Jan 2009 19:06:21 -0500 |
parents | b054271b2504 |
children | d3d8f5a17909 |
line wrap: on
line source
"""Configuration options for datasets Especially, the locations of data files. """ import os def env_get(key, default): return default if os.getenv(key) is None else os.getenv(key) def data_root(): return env_get('PYLEARN_DATA_ROOT', '/u/bergstrj/pub/data/')