Search code examples
h2o

Save a h2o.ai model to S3 bucket in python


I have been using the command below to save my h2O model into a s3 bucket in python3 (I am using amazon EMR):

h2o.save_model(model=best_gbm1,path='s3://bucketname/folder1/folder2', force=False)

but I do get the following error:

H2OServerError: HTTP 500 Server Error: Server error java.lang.RuntimeException: Error: Not implemented Request: None

Do you know if it is possible to save a H2O model directly to a S3 bucket?


Solution

  • The ability to save an h2o-3 model to s3 via the save_model() is not currently supported (as of version 3.22.1.6).