Closed marshallllllll closed 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
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