Up モデルの読み込み 作成: 2021-04-18
更新: 2021-04-18


    先に保存していた モデル fashion_mnist.h5 を読み込む:
      $ python >>> import tensorflow as tf >>> from tensorflow import keras >>> import numpy as np >>> import matplotlib.pyplot as plt >>> from tensorflow.python.keras.models import load_model >>> model = load_model('fashion_mnist.h5')

    モデルの内容 (層構造) 表示:
      >>> model.summary()