【问题标题】:Unexpected CURL error: couldn't open file error in r意外的 CURL 错误:无法在 r 中打开文件错误
【发布时间】:2019-11-27 13:33:13
【问题描述】:

我正在尝试在 r 中构建模型。这是我使用的代码:

h2o.init(nthreads = -1)
model = h2o.deeplearning(y = 'Exited',
                         training_frame = as.h2o(training_set),
                         activation = 'Rectifier',
                         hidden = c(5,5),
                         epochs = 100,
                         train_samples_per_iteration = -2)

这是错误:

Error in .h2o.doSafeREST(h2oRestApiVersion = h2oRestApiVersion, urlSuffix = urlSuffix,  : 
  Unexpected CURL error: couldn't open file "C:/Users/WİN10/AppData/Local/Temp/Rtmp4aOzax/file4f04bf12e34.csv"

【问题讨论】:

    标签: r


    【解决方案1】:

    您的路径似乎有一个特殊字符,在运行模型时会中断:

    "C:/Users/WİN10/AppData/Local/Temp/Rtmp4aOzax/file4f04bf12e34.csv"
    

    我试过quick google search,似乎这个错误发生在他们的语言中有特殊字符的人身上。

    尝试在 Windows 中使用不同的用户(没有特殊字符)运行模型并检查它是否工作正常。

    编辑:

    或者,您可以尝试 change the temporary directory 到没有特殊字符的文件夹。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-01-03
      • 2018-10-12
      • 2015-09-21
      • 2019-02-19
      相关资源
      最近更新 更多