Python 无法加载数据以运行deeplearning\u mnist\u简介笔记本
我正在尝试使用TensorFlow作为后端运行H2O深水。将其与python一起使用的方法运行顺利,没有任何错误。现在我想运行,但在开始时,加载数据的函数返回一个错误Python 无法加载数据以运行deeplearning\u mnist\u简介笔记本,python,h2o,Python,H2o,我正在尝试使用TensorFlow作为后端运行H2O深水。将其与python一起使用的方法运行顺利,没有任何错误。现在我想运行,但在开始时,加载数据的函数返回一个错误 test_df = h2o.import_file(PATH + "bigdata/laptop/mnist/test.csv.gz") ... /home/my_user_name/anaconda3/envs/h2o-tf-gpu/lib/python2.7/site-packages/h2o/backend/connect
test_df = h2o.import_file(PATH + "bigdata/laptop/mnist/test.csv.gz")
...
/home/my_user_name/anaconda3/envs/h2o-tf-gpu/lib/python2.7/site-packages/h2o/backend/connection.pyc in _process_response(response, save_to)
723 # Client errors (400 = "Bad Request", 404 = "Not Found", 412 = "Precondition Failed")
724 if status_code in {400, 404, 412} and isinstance(data, (H2OErrorV3, H2OModelBuilderErrorV3)):
--> 725 raise H2OResponseError(data)
726
727 # Server errors (notably 500 = "Server Error")
H2OResponseError: Server error water.exceptions.H2ONotFoundArgumentException:
Error: File /home/my_user_name/h2o-3/bigdata/laptop/mnist/test.csv.gz does not exist
Request: GET /3/ImportFiles
params: {u'path': '/home/my_user_name/h2o-3/bigdata/laptop/mnist/test.csv.gz'}
我猜可能是某个硬编码的URL不再有效
有没有办法修复URL,或者直接指向数据集,以便手动下载
我的设置是:
- CentOS 7.3.1611
- Python 2.7.14(尽管必要时我可以安装不同的版本)
- h2o-3(根据指示,夜间建造)
- tf 1.4(从安装的pip)
PATH = os.path.expanduser("~/h2o-3/")
首先从下面的直接链接下载数据集并设置正确的路径:
PATH = "/your_pyhsical_path/"
另外,确保测试和训练测向指向上述正确的数据集
注:深水项目不再处于积极开发中,因此不再从H2O进行进一步开发,而是按原样提供