argman / EAST

A tensorflow implementation of EAST text detector
GNU General Public License v3.0
3.01k stars 1.05k forks source link

undefined symbol: PyInstanceMethod_Type #99

Open abc8350712 opened 6 years ago

abc8350712 commented 6 years ago
I have trained the model and i want to evaluate the result,but I meet the problem.

Traceback (most recent call last):
  File "eval.py", line 194, in 
    tf.app.run()
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/platform/app.py", line 48, in run
    _sys.exit(main(_sys.argv[:1] + flags_passthrough))
  File "eval.py", line 160, in main
    boxes, timer = detect(score_map=score, geo_map=geometry, timer=timer)
  File "eval.py", line 98, in detect
    boxes = lanms.merge_quadrangle_n9(boxes.astype('float32'), nms_thres)
  File "/home/moon/EAST-master/lanms/__init__.py", line 12, in merge_quadrangle_n9
    from .adaptor import merge_quadrangle_n9 as nms_impl
ImportError: /home/moon/EAST-master/lanms/adaptor.so: undefined symbol: PyInstanceMethod_Type

Can you help me?
Danee-wawawa commented 5 years ago

I met the same problem, have you solved this problem?