Open wushilian opened 6 years ago
You probably need a newer version of Tensorflow. I used version 1.5.
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
steve8000818@gmail.com
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?