-
Notifications
You must be signed in to change notification settings - Fork 43
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
CUDA error: an illegal memory access was encountered #10
Comments
What's your gpu memory size ? |
hey.. while generating data for pnet.. did you encountered module not found error ? Can you help me with this ? |
Have a try.
|
but I am getting this error after that: ModuleNotFoundError: No module named 'mtcnn.utils.nms.cpu_nms' |
Have you compiled the Cython code? python setup.py build_ext --inplace |
yes, I compiled but there was some error.. it has been resolved. |
after training pnet.. I want to generate samples for rnet, although dets.shape[0] is returning an integer |
I have 16GB of memory on the GPU so I don't think I should see this error. That being said, I do see part of the code that is meant to deal with memory errors: I assume this part is running on the CPU because it is very slow on my machine. |
Try changing cuda to cuda:0 here I had the same issue and this change fixed it for me. |
cool.. thanks @captureguy btw for how many epochs have you trained pnet and rnet ? |
@captureguy issue is solved. |
@captureguy Did you end up fixing your Issue? I'm getting the same issue and I also have a 16GB GPU |
I think I have solved this problem "RuntimeError: CUDA error: an illegal memory access was encountered"
and changed this to monitor:
|
When I try to generate training data for onet I receive a memory error in the middle of processing the image files. I am using pytorch 1.5. Any help would be appreciated.
The text was updated successfully, but these errors were encountered: