我正在尝试使用H2O作为后端运行TensorFlow深水。与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/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,或者只是将我指向数据集,以便我可以手动下载它?
我的设计是:
发布于 2017-12-15 15:48:28
如果您查看笔记本的顶部,您将看到下面的路径设置,该设置设置为硬编码路径:
PATH = os.path.expanduser("~/h2o-3/")首先从下面的直接链接下载数据集,并设置正确的路径:
现在,将路径更改到数据集可用的位置:
PATH = "/your_pyhsical_path/"还要确保test_df和train_df指向更正上面的数据集。
注:深水项目已不再积极开发,因此不再有H2O的进一步开发,因为它是可用的。
https://stackoverflow.com/questions/47829169
复制相似问题