py-faster-rcnn icon indicating copy to clipboard operation
py-faster-rcnn copied to clipboard

Error when run the demo

Open BojanAndonovski71 opened this issue 4 years ago • 0 comments

Hi

im using Ubuntu 16.04, Python 2.7.12 Cuda 10 and Cudnn 7., and protoc version 3.11 ibprotoc 3.11.4. and protobuf 3. 11.4. as well. I followed the Ubuntu 16 Installation guide for Caffee here https://github.com/BVLC/caffe/wiki/Ubuntu-16.04-Installation-Guide

Its compile all and only when run the demo with ./tools/demo.py I got this ERROR:

File "./tools/demo.py", line 18, in <module>
    from fast_rcnn.test import im_detect
  File "/home/admini/face-py-faster-rcnn/tools/../lib/fast_rcnn/test.py", line 17, in <module>
    from fast_rcnn.nms_wrapper import nms
  File "/home/admini/face-py-faster-rcnn/tools/../lib/fast_rcnn/nms_wrapper.py", line 9, in <module>
    from nms.gpu_nms import gpu_nms
  File "__init__.pxd", line 861, in init nms.gpu_nms (nms/gpu_nms.cpp:4121)
ValueError: numpy.ufunc has the wrong size, try recompiling

Please can you help?

BojanAndonovski71 avatar Apr 13 '20 08:04 BojanAndonovski71