如何将 .h5 模型转换为 .pb 模型

时间:2021-02-09 08:37:37

标签: python tensorflow image-processing tf.keras

我使用模型进行自动检测,但我无法读取模型 .pb

from imageai.Detection import VideoObjectDetection
import os

execution_path = os.getcwd()

detector = VideoObjectDetection()
detector.setModelTypeAsYOLOv3()
detector.setModelPath( os.path.join(execution_path , "saved_model.pb"))
detector.loadModel()

0 个答案:

没有答案
相关问题