【发布时间】:2021-10-25 09:07:03
【问题描述】:
import tensorflow as tf
import cv2
mnist = tf.keras.datasets.mnist
(x_train, y_train), (x_test, y_test) = mnist.load_data()
model = tf.keras.models.load_model("2-conv-0dense-128-units")
model = tf.keras.models.load_model("2-conv-0dense-128-units.model")
我在“C:\Users\Acer\Desktop\bing\Bing\Python_App\Scripts\logs\2-conv-0dense-128-units”有一个保存的模型,但我不知道如何使用张量流
【问题讨论】:
-
您的模型保存为什么格式? h5?
标签: python tensorflow