Deformable-ConvNets icon indicating copy to clipboard operation
Deformable-ConvNets copied to clipboard

Problem in "python ./rfcn/demo.py" operator _zeros is not implemented for GPU

Open LIANGXINKAI opened this issue 6 years ago • 6 comments

I have already complished all procedure, but some problem occurs in running "python ./rfcn/demo.py" wechat image_20180225010118

ERROR: operator _zeros is not implemented for GPU But, I have already "make -j $(nproc) USE_OPENCV=1 USE_BLAS=openblas USE_CUDA=1 USE_CUDA_PATH=/usr/local/cuda USE_CUDNN=1"

thanks for help.

LIANGXINKAI avatar Feb 25 '18 01:02 LIANGXINKAI

Seems your mxnet is compiled without cuda?

HaozhiQi avatar Feb 26 '18 12:02 HaozhiQi

@Oh233 but i have already "make -j $(nproc) USE_OPENCV=1 USE_BLAS=openblas USE_CUDA=1 USE_CUDA_PATH=/usr/local/cuda USE_CUDNN=1" , USE_CUDA=1 . is there any question?

LIANGXINKAI avatar Feb 26 '18 12:02 LIANGXINKAI

You can install mxnet by pip install ...

chinakook avatar Feb 26 '18 13:02 chinakook

Have you solved this problem? If you have solved this problem, can you share the solution with me?

liyaochong avatar Apr 25 '18 08:04 liyaochong

Have you solved this problem? If you have solved this problem, can you share the solution with me?

chituma110 avatar Jul 06 '19 17:07 chituma110

I met this problem too when installing mxnet as FGFA. And I had set USE_CUDA=1. This is because there are many versions of mxnet in my server and I guess python uses the wrong version. So what you need to do is :

  1. check if you have many mxnet versions: In my server, the path of mxnet is "/large2/zhaowei/anaconda3/envs/manet3/lib/python2.7/site-packages/mxnet-0.10.0-py2.7.egg". You should check if there are other versions of mxnet in "/large2/zhaowei/anaconda3/envs/manet3/lib/python2.7/site-packages".
  2. remove the other versions using "rm -r"
  3. then python demo.py should work

ThuWangzw avatar Dec 19 '19 11:12 ThuWangzw