Skip to content
This repository was archived by the owner on Sep 1, 2021. It is now read-only.
This repository was archived by the owner on Sep 1, 2021. It is now read-only.

an error #1

@wushilian

Description

@wushilian

File "/home/wushilian/Chinese_OCR/chinese-subtitle-ocr-master/main.py", line 108, in
main()
File "/home/wushilian/Chinese_OCR/chinese-subtitle-ocr-master/main.py", line 56, in main
detection = Detection(det_cfg)
File "/home/wushilian/Chinese_OCR/chinese-subtitle-ocr-master/detection.py", line 50, in init
self.graph = self.__load_graph(cfg["frozen_graph"])
File "/home/wushilian/Chinese_OCR/chinese-subtitle-ocr-master/detection.py", line 17, in __load_graph
tf.import_graph_def(od_graph_def, name='')
File "/home/wushilian/anaconda3/lib/python3.6/site-packages/tensorflow/python/framework/importer.py", line 283, in import_graph_def
raise ValueError('No op named %s in defined operations.' % node.op)
ValueError: No op named NonMaxSuppressionV2 in defined operations.
How to fix it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions