首页 > 解决方案 > 如何将 .h5 模型转换为 .pb 模型

问题描述

我使用模型进行自动检测,但我无法读取模型 .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()

标签: pythontensorflowimage-processingtf.keras

解决方案


推荐阅读