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