chinese-subtitle-ocr icon indicating copy to clipboard operation
chinese-subtitle-ocr copied to clipboard

an error

Open wushilian opened this issue 7 years ago • 2 comments
trafficstars

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?

wushilian avatar Feb 07 '18 13:02 wushilian

You probably need a newer version of Tensorflow. I used version 1.5.

lars76 avatar Feb 07 '18 21:02 lars76

Hi, Can you help send an exe version for chinese-subtitle-ocr? Is it possible to pre-process image with opencv only?

Have a good day
[email protected]

nissansz avatar Jul 09 '18 14:07 nissansz