先に保存していた モデル 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')
モデルの内容 (層構造) 表示:
|