h2oai / h2o-3

H2O is an Open Source, Distributed, Fast & Scalable Machine Learning Platform: Deep Learning, Gradient Boosting (GBM) & XGBoost, Random Forest, Generalized Linear Modeling (GLM with Elastic Net), K-Means, PCA, Generalized Additive Models (GAM), RuleFit, Support Vector Machine (SVM), Stacked Ensembles, Automatic Machine Learning (AutoML), etc.
http://h2o.ai
Apache License 2.0
6.94k stars 2k forks source link

Exported DL model should contain weights and biases. #15179

Open exalate-issue-sync[bot] opened 1 year ago

exalate-issue-sync[bot] commented 1 year ago

Right now, weights and biases (represented as Frames) are not exported with DL models.

We need to export them as part of model export.

Comming from H2O stream: Hi I trained a DL model using export_weights_and_biases=True using the python.

But when I try to read those weights, I get this error.

--- k1.py---- import os,sys import h2o

h2o.inint() dlModel = h2o.load_model() w = dlModel.weights()

----- end of k1.py---

Error output: detailed error message: Object '$1f$eepLearning_model_python_1445386976039_12.weights.0' not found for argument: key

DinukaH2O commented 1 year ago

JIRA Issue Migration Info

Jira Issue: PUBDEV-2271 Assignee: New H2O Bugs Reporter: Michal Malohlava State: Open Fix Version: N/A Attachments: N/A Development PRs: N/A