You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 1, 2021. It is now read-only.
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?
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?