CharlesShang / FastMaskRCNN

Mask RCNN in TensorFlow
Apache License 2.0
3.09k stars 1.1k forks source link

When I train the train.py,I meet the error:ImportError: /home/zhao/hao/2017/FastFPN-master/train/../libs/boxes/cython_nms.so: cannot open shared object file: No such file or directory #181

Open ty0803 opened 6 years ago

ty0803 commented 6 years ago

Please tell me how solve it

illutheplanet commented 6 years ago

got the same problem

SpeedUpToG commented 6 years ago

how to solve it

braddengross commented 6 years ago

Did you run make in ./libs/datasets/pycocotools and ./libs?

daijucug commented 6 years ago

How to solve it?

noor01 commented 6 years ago

I'm having the same issue. I did run make in ./libs/datasets/pycocotools and in ./libs. Has anyone been able to resolve it/didn't get the error?

noor01 commented 6 years ago

Solved: The issue is that if you go to ../libs/boxes/ you will see that cython_nms.so is in fact cython_nms.blahblah.so where blahblah is info related to your system. Simply rename this file to cython_nms.so

Similarly, rename cython_anchor.so, cython_bbox.so, and cython_bbox_transform.so

Hope that helps!