Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create convenience tool for converting MOJO to POJO from command line #7279

Closed
exalate-issue-sync bot opened this issue May 11, 2023 · 4 comments
Closed

Comments

@exalate-issue-sync
Copy link

No description provided.

@exalate-issue-sync
Copy link
Author

Michal Kurka commented:

{noformat}# Download H2O
wget https://h2o-release.s3.amazonaws.com/h2o/master/5601/h2o-3.35.0.5601.zip
unzip h2o-3.35.0.5601.zip
cd h2o-3.35.0.5601

Convert MOJO to POJO (default output)

java -cp h2o.jar water.tools.MojoConvertTool gbm_51b9780b_70d0_40d0_9b5a_c723a3f358c1.zip gbm_51b9780b_70d0_40d0_9b5a_c723a3f358c1.java

or force floats to be converted to double representation

java -Dsys.ai.h2o.java.output.doubles=true -cp h2o.jar water.tools.MojoConvertTool ~/Downloads/gbm_51b9780b_70d0_40d0_9b5a_c723a3f358c1.zip gbm_51b9780b_70d0_40d0_9b5a_c723a3f358c1.java
{noformat}

@h2o-ops-ro
Copy link
Collaborator

JIRA Issue Details

Jira Issue: PUBDEV-8379
Assignee: Michal Kurka
Reporter: Michal Kurka
State: Resolved
Fix Version: 3.36.0.1
Attachments: Available (Count: 1)
Development PRs: Available

@h2o-ops-ro
Copy link
Collaborator

Attachments From Jira

Attachment Name: gbm_51b9780b_70d0_40d0_9b5a_c723a3f358c1.zip
Attached By: Michal Kurka
File Link:https://h2o-3-jira-github-migration.s3.amazonaws.com/PUBDEV-8379/gbm_51b9780b_70d0_40d0_9b5a_c723a3f358c1.zip

@h2o-ops-ro
Copy link
Collaborator

Linked PRs from JIRA

#5830

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant