Illegal argument error importing h2o model Unicorn Meta Zoo #1: Why another podcast? Announcing the arrival of Valued Associate #679: Cesar Manara Data science time! April 2019 and salary with experience The Ask Question Wizard is Live!Unable to import H2O library in Spark shellh2o flow versus python shellH2O: Cannot read LARGE model from disk via `h2o.loadModel`How to save an h2o model using mlr in R?Can't import binay h2o model with h2o.loadModel() function: 412 Precondition FailedPrediction From Loaded Model | DistributedExceptionError while estimating xgboost in h2o after update to 3.18Training H2O Stacked Ensemble Models using exported Mojo and Binary ModelsCalculating MAPE in H2o: Error: Provided column type POSIXct is unknownHow do h2o models determine what columns to use for predictions (position, name, etc.)?
Are these square matrices always diagonalisable?
Why did Israel vote against lifting the American embargo on Cuba?
Why didn't the Space Shuttle bounce back into space as many times as possible so as to lose a lot of kinetic energy up there?
What is it called when you ride around on your front wheel?
Putting Ant-Man on house arrest
Suing a Police Officer Instead of the Police Department
Protagonist's race is hidden - should I reveal it?
Raising a bilingual kid. When should we introduce the majority language?
I preordered a game on my Xbox while on the home screen of my friend's account. Which of us owns the game?
Implementing 3DES algorithm in Java: is my code secure?
Multiple options vs single option UI
What is the term for a person whose job is to place products on shelves in stores?
How to not starve gigantic beasts
Is Diceware more secure than a long passphrase?
Passing args from the bash script to the function in the script
Israeli soda type drink
Can I criticise the more senior developers around me for not writing clean code?
What to do with someone that cheated their way through university and a PhD program?
What is the best way to deal with NPC-NPC combat?
Multiple fireplaces in an apartment building?
Married in secret, can marital status in passport be changed at a later date?
What is the ongoing value of the Kanban board to the developers as opposed to management
How to translate "red flag" into Spanish?
What is a 'Key' in computer science?
Illegal argument error importing h2o model
Unicorn Meta Zoo #1: Why another podcast?
Announcing the arrival of Valued Associate #679: Cesar Manara
Data science time! April 2019 and salary with experience
The Ask Question Wizard is Live!Unable to import H2O library in Spark shellh2o flow versus python shellH2O: Cannot read LARGE model from disk via `h2o.loadModel`How to save an h2o model using mlr in R?Can't import binay h2o model with h2o.loadModel() function: 412 Precondition FailedPrediction From Loaded Model | DistributedExceptionError while estimating xgboost in h2o after update to 3.18Training H2O Stacked Ensemble Models using exported Mojo and Binary ModelsCalculating MAPE in H2o: Error: Provided column type POSIXct is unknownHow do h2o models determine what columns to use for predictions (position, name, etc.)?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
I am trying to import a model that was trained and saved using H2O 3.22.0.2
.
The error is as follows:
INFO ERROR: Server error water.exceptions.H2OIllegalArgumentException:
Error: Illegal argument: dir of function: importModel: /home/centos/models/model_20190202_1204/DeepLearning_model_python_1549126947138_1
Request: POST /99/Models.bin/
data: 'dir': '/home/centos/models/model_20190202_1204/DeepLearning_model_python_1549126947138_1'
The version running in the server is h2o==3.22.0.2
.
I have run a prediction using this model file locally with no issues.
Could anyone provide any clues as to what might be going on? Thanks.
UPDATE:
I am attempting to load the model using h2o.load_model(model_path)
h2o
add a comment |
I am trying to import a model that was trained and saved using H2O 3.22.0.2
.
The error is as follows:
INFO ERROR: Server error water.exceptions.H2OIllegalArgumentException:
Error: Illegal argument: dir of function: importModel: /home/centos/models/model_20190202_1204/DeepLearning_model_python_1549126947138_1
Request: POST /99/Models.bin/
data: 'dir': '/home/centos/models/model_20190202_1204/DeepLearning_model_python_1549126947138_1'
The version running in the server is h2o==3.22.0.2
.
I have run a prediction using this model file locally with no issues.
Could anyone provide any clues as to what might be going on? Thanks.
UPDATE:
I am attempting to load the model using h2o.load_model(model_path)
h2o
Did you copy the model to that directory on the server?
– TomKraljevic
Mar 22 at 15:54
@TomKraljevic Yes I did. Thanks.
– Lucif3r
Mar 22 at 15:56
add a comment |
I am trying to import a model that was trained and saved using H2O 3.22.0.2
.
The error is as follows:
INFO ERROR: Server error water.exceptions.H2OIllegalArgumentException:
Error: Illegal argument: dir of function: importModel: /home/centos/models/model_20190202_1204/DeepLearning_model_python_1549126947138_1
Request: POST /99/Models.bin/
data: 'dir': '/home/centos/models/model_20190202_1204/DeepLearning_model_python_1549126947138_1'
The version running in the server is h2o==3.22.0.2
.
I have run a prediction using this model file locally with no issues.
Could anyone provide any clues as to what might be going on? Thanks.
UPDATE:
I am attempting to load the model using h2o.load_model(model_path)
h2o
I am trying to import a model that was trained and saved using H2O 3.22.0.2
.
The error is as follows:
INFO ERROR: Server error water.exceptions.H2OIllegalArgumentException:
Error: Illegal argument: dir of function: importModel: /home/centos/models/model_20190202_1204/DeepLearning_model_python_1549126947138_1
Request: POST /99/Models.bin/
data: 'dir': '/home/centos/models/model_20190202_1204/DeepLearning_model_python_1549126947138_1'
The version running in the server is h2o==3.22.0.2
.
I have run a prediction using this model file locally with no issues.
Could anyone provide any clues as to what might be going on? Thanks.
UPDATE:
I am attempting to load the model using h2o.load_model(model_path)
h2o
h2o
asked Mar 22 at 15:46
Lucif3rLucif3r
172213
172213
Did you copy the model to that directory on the server?
– TomKraljevic
Mar 22 at 15:54
@TomKraljevic Yes I did. Thanks.
– Lucif3r
Mar 22 at 15:56
add a comment |
Did you copy the model to that directory on the server?
– TomKraljevic
Mar 22 at 15:54
@TomKraljevic Yes I did. Thanks.
– Lucif3r
Mar 22 at 15:56
Did you copy the model to that directory on the server?
– TomKraljevic
Mar 22 at 15:54
Did you copy the model to that directory on the server?
– TomKraljevic
Mar 22 at 15:54
@TomKraljevic Yes I did. Thanks.
– Lucif3r
Mar 22 at 15:56
@TomKraljevic Yes I did. Thanks.
– Lucif3r
Mar 22 at 15:56
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55303305%2fillegal-argument-error-importing-h2o-model%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55303305%2fillegal-argument-error-importing-h2o-model%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Did you copy the model to that directory on the server?
– TomKraljevic
Mar 22 at 15:54
@TomKraljevic Yes I did. Thanks.
– Lucif3r
Mar 22 at 15:56