chineseocr / chineseocr

yolo3+ocr

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

用于opencv的ocr.pb模型文件不存在导致错误

hundanLi opened this issue · comments

config.py的第51行:

crModelOpencv           = os.path.join(pwd,"models","ocr.pb")

导致这样的错误:

chineseocr/crnn/network_dnn.py", line 37, in predict
    self.model.setInput(image)
AttributeError: 'CRNN' object has no attribute 'model'