yangxue0827 / R2CNN_FPN_Tensorflow

R2CNN: Rotational Region CNN Based on FPN (Tensorflow)
419 stars 139 forks source link

rotate_polygon_nms.so #44

Closed marshallllllll closed 6 years ago

marshallllllll commented 6 years ago

Hi. When trying to run python inference1.py I receive the following error:

Traceback (most recent call last): File "demo1.py", line 16, in <module> from libs.fast_rcnn import build_fast_rcnn1 File "../libs/fast_rcnn/build_fast_rcnn1.py", line 14, in <module> from libs.box_utils import nms_rotate File "../libs/box_utils/nms_rotate.py", line 12, in <module> from libs.box_utils.rotate_polygon_nms import rotate_gpu_nms ImportError: dlopen(../libs/box_utils/rotate_polygon_nms.so, 2): no suitable image found. Did find: ../libs/box_utils/rotate_polygon_nms.so: unknown file type, first eight bytes: 0x7F 0x45 0x4C 0x46 0x02 0x01 0x01 0x00 /Users/tomtomtom/R2CNN_FPN_Tensorflow/libs/box_utils/rotate_polygon_nms.so: unknown file type, first eight bytes: 0x7F 0x45 0x4C 0x46 0x02 0x01 0x01 0x00

Any suggestions on what is going wrong.Also, I am running this on a CPU.

Thanks