chineseocr / darknet-ocr

darknet text detect and darknet cnn ocr
MIT License
1.14k stars 287 forks source link

运行报错,搜索无果,请指导,非常感谢 #22

Closed icanfly777 closed 4 years ago

icanfly777 commented 4 years ago

(base) xxxx@ubuntu:~/darknet-ocr-master$ python app.py 8080 Traceback (most recent call last): File "app.py", line 14, in from dnn.text import detect_lines File "/home/xxx/darknet-ocr-master/dnn/text.py", line 13, in from dnn.darknet import load_net,predict_image,array_to_image File "/home/xxx/darknet-ocr-master/dnn/darknet.py", line 112, in predict_image =lib.network_predict_image_vgg File "/home/xxx/anaconda3/lib/python3.6/ctypes/init.py", line 357, in getattr func = self.getitem(name) File "/home/xxx/anaconda3/lib/python3.6/ctypes/init.py", line 362, in getitem func = self._FuncPtr((name_or_ordinal, self)) AttributeError: ../darknet/libdarknet.so: undefined symbol: network_predict_image_vgg

多方查找资料,也多次编译darknet但问题依然,请指导,非常感谢

akorezhao commented 4 years ago

找到原因了??我也遇到了同样的问题