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

[Feature Request]: Add .h5 model support. #1277

Open
Mustenaka opened this issue Nov 29, 2024 · 0 comments
Open

[Feature Request]: Add .h5 model support. #1277

Mustenaka opened this issue Nov 29, 2024 · 0 comments

Comments

@Mustenaka
Copy link

Background and Feature Description

Add .h5 model support.

when i try use load_model for .h5 model, it will crash and throw an error.

System.NotImplementedException
HResult=0x80004001
Message=Model load of h5 format has not been supported. Please submit an issue to https://github.com/SciSharp/TensorFlow.NET/issues if it's needed.
Source=Tensorflow.Keras

API Definition and Usage

var model = KerasApi.keras.models.load_model("xxx_model.h5");

// or
var model = tf.keras.models.load_model("xxx_model.h5");

Alternatives

No response

Risks

No response

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

No branches or pull requests

1 participant