chenyuntc / simple-faster-rcnn-pytorch

A simplified implemention of Faster R-CNN that replicate performance from origin paper
Other
3.98k stars 1.14k forks source link

cupy.8.0 problem #77

Open lxtGH opened 6 years ago

lxtGH commented 6 years ago

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 ipython-dev@python.org

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

air-y commented 5 years ago

same proble,do you have solve it?

tkone2018 commented 5 years ago

did you solve it?

Xxxxxxxi commented 4 years ago

same problem

sohee-zoe commented 4 years ago

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

ooza commented 3 years ago

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 ??

ShijianXu commented 1 year ago

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!