Skip to content

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

Open
@Mustenaka

Description

@Mustenaka

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions