deep learning - R: h2o: saving a deeplearning model: automatically generated long file name too long for windows -
i have no problems saving h20 glm model(as has shorter file name) having problems saving h2o deeplearning model using same saving procedure
i tried:
library(h2o) localh2o = h2o.init() <- runif(1000) b <- runif(1000) c <- runif(1000) d <- 5*a+2*b^2+c*a df1 <- data.frame(a,b,c,d) df1.hex <- as.h2o(df1) test.dl <- h2o.deeplearning(x = 1:3, y = 4, training_frame = df1.hex) dlmodel.path = h2o.savemodel(test.dl, dir = "file:///c:/", name = "modeldl") dlmodel.path
but error:
error in .h2o.dosaferest(conn = conn, h2orestapiversion = h2orestapiversion, : fs io failure: accessed path : file:///c://modeldl/modelmetrics_deeplearningmodel__9fe11910a85d1371379ac7d536d64359_-5064771152374762981_on_key_frame__c__users_store_appdata_local_temp_rtmpggylne_file1f18787f2989_csv_1.hex_2.deeplearningmodel__9fe11910a85d1371379ac7d536d64359.temporary.train.chunks8_-6759658083019717917.bin
i using windows 10 computer. has been pointed out rha, filepath/name extremely long , long windows.how can overcome this? of filepath characters generated automatically h20 program. using latest h20 update. from.sessioninfo(): other attached packages: [1] h2o_3.0.0.30
i grateful help.
have tried add model_id = "something" h2o.deeplearning command?
test.dl <- h2o.deeplearning(x = 1:3, y = 4, training_frame = df1.hex, model_id = "mytest.dl")
i hope fix problem.
Comments
Post a Comment