【问题标题】:How to use a pre trained image classification model which is type of h5 in Keras?如何在 Keras 中使用 h5 类型的预训练图像分类模型?
【发布时间】:2019-05-05 03:07:27
【问题描述】:

我使用 Keras 训练了一个 h5 模型,但我不知道如何在其他程序中使用它来处理其他图像。而且这个问题不是重复的,或者我找不到任何解决方案。谢谢...

【问题讨论】:

    标签: keras deep-learning classification h5py


    【解决方案1】:

    使用 keras 库中的模型,如下所示。

    from keras open models
    model = models.load_model("model.h5")
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-06-03
      • 1970-01-01
      • 2018-09-25
      • 2020-10-05
      • 2021-07-09
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多