提交 b93722df 编写于 作者: Y Yi Wang

Set data cache home directory to ~/.cache/paddle/dataset

上级 7fe21602
...@@ -5,7 +5,7 @@ import urllib2 ...@@ -5,7 +5,7 @@ import urllib2
__all__ = ['DATA_HOME', 'download'] __all__ = ['DATA_HOME', 'download']
DATA_HOME = os.path.expanduser('~/.cache/paddle_data_set') DATA_HOME = os.path.expanduser('~/.cache/paddle/dataset')
if not os.path.exists(DATA_HOME): if not os.path.exists(DATA_HOME):
os.makedirs(DATA_HOME) os.makedirs(DATA_HOME)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册