Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

module 'cupy.cuda.memory' has no attribute 'PythonFunctionAllocatorMemory' for FRCNN #11

Closed
AnubhootiJ opened this issue Aug 4, 2021 · 4 comments
Assignees

Comments

@AnubhootiJ
Copy link

The bug
I tried using the FRCNN model and followed the demo .ipynb file given in the repository. But trying to import the FRCNN model gave me cupy error. It first came to be an Attirbute error for Utils ( module 'cupy' has no attribute 'util') but later started giving this error. I tried to import other models to see if it was happening in other modules too but I was able to import SSD successfully. Can't figure out what's happening here.

This is what I tried to import
from dataset_utils.preprocessing import letterbox_image_padded
from misc_utils.visualization import visualize_detections
from models.frcnn import FRCNN # <----- This is where I got the error
from PIL import Image
from tog.attacks import *
import os

If applicable, add screenshots to help explain your problem.
image
image

@khchow-gt
Copy link
Member

Which version of cupy are you using?

@khchow-gt khchow-gt self-assigned this Aug 6, 2021
@AnubhootiJ
Copy link
Author

I am using cupy-cuda100==7.1.1

I am working on Google Colab and using pip to install the dependency.

@khchow-gt
Copy link
Member

Would you mind sharing the notebook?

@khchow-gt
Copy link
Member

Closing this thread due to inactivity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants