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

CUDA error: an illegal memory access was encountered #149

Open
Davidyao99 opened this issue Sep 25, 2022 · 0 comments
Open

CUDA error: an illegal memory access was encountered #149

Davidyao99 opened this issue Sep 25, 2022 · 0 comments

Comments

@Davidyao99
Copy link

I am using the demo.py code on a relatively large image size of 1408x1408. However, it is raising a CUDA error: illegal memory access was encountered.

This seems to be happening after the line flow_low, flow_up = model(image1, image2, iters=50, test_mode=True)
After this line, trying to access flow_up or image1 leads to the above error. I suspect this might be due to cuda memory issues? When I use a smaller image this error does not occur. Any idea how I can resolve this? Thank you!

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

1 participant