simple-faster-rcnn-pytorch icon indicating copy to clipboard operation
simple-faster-rcnn-pytorch copied to clipboard

cupy.8.0 problem

Open lxtGH opened this issue 6 years ago • 6 comments

Traceback (most recent call last): File "train.py", line 10, in from model import FasterRCNNVGG16 File "/home/lxt/cvpr2019-video/simple-faster-rcnn-pytorch/model/init.py", line 1, in from model.faster_rcnn_vgg16 import FasterRCNNVGG16 File "/home/lxt/cvpr2019-video/simple-faster-rcnn-pytorch/model/faster_rcnn_vgg16.py", line 5, in from model.region_proposal_network import RegionProposalNetwork File "/home/lxt/cvpr2019-video/simple-faster-rcnn-pytorch/model/region_proposal_network.py", line 7, in from model.utils.creator_tool import ProposalCreator File "/home/lxt/cvpr2019-video/simple-faster-rcnn-pytorch/model/utils/creator_tool.py", line 5, in from model.utils.nms import non_maximum_suppression File "/home/lxt/cvpr2019-video/simple-faster-rcnn-pytorch/model/utils/nms/init.py", line 1, in from model.utils.nms.non_maximum_suppression import non_maximum_suppression File "/home/lxt/cvpr2019-video/simple-faster-rcnn-pytorch/model/utils/nms/non_maximum_suppression.py", line 16, in @cp.util.memoize(for_each_device=True) AttributeError: module 'cupy' has no attribute 'util'

If you suspect this is an IPython bug, please report it at: https://github.com/ipython/ipython/issues or send an email to the mailing list at [email protected]

You can print a more detailed traceback right now with "%tb", or use "%debug" to interactively debug it.

Extra-detailed tracebacks for bug-reporting purposes can be enabled via: %config Application.verbose_crash=True

lxtGH avatar Oct 12 '18 09:10 lxtGH

same proble,do you have solve it?

air-y avatar Jan 21 '19 06:01 air-y

did you solve it?

world2025 avatar Apr 30 '19 10:04 world2025

same problem

Xxxxxxxi avatar Nov 11 '19 07:11 Xxxxxxxi

in my case, cuda version = 10.0 conda install -c conda-forge cupy==7.8.0 cudatoolkit=10.0

sohee-zoe avatar Oct 23 '20 23:10 sohee-zoe

I'm using virtualenv and pip I've installed cupy-cuda101 and I ran to the same error any ideas on how to fix this ??

ooza avatar Jul 14 '21 20:07 ooza

Hi @ooza I am meeting with the same problem. I am using cupy-cuda110 (pip virtualenv, conda not allowed). Have you solved this problem?

Thank you very much!

ShijianXu avatar Aug 15 '23 15:08 ShijianXu