-
Notifications
You must be signed in to change notification settings - Fork 864
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
Not working with GPU on Windows #109
Comments
I have only seen this as a warning with pytorch 2.3 (it doesn't stop execution). You may have an older version of CUDA that needs to be updated if it's an exception. |
Yes, it is a warning, The script executes, but returns empty predictions for any given file. Only the image included in the repo gives true predictions. |
This comment was marked as outdated.
This comment was marked as outdated.
It turns out that the layer -
where,
in the class It is a known problem with conv2d that on some architectures with float16 ( weights and inputs) it gives nan values. So i changed float16 to float32 as shown below in settings.py -
Another error i got was -
which i solved by adding |
I am trying to use surya on Windows with Nvidia GPU, and cuda enabled. It returns empty predictions and the logs through the following error:
Plan failed with a cudnnException: CUDNN_BACKEND_EXECUTION_PLAN_DESCRIPTOR: cudnnFinalize Descriptor Failed cudnn_status: CUDNN_STATUS_NOT_SUPPORTED
The text was updated successfully, but these errors were encountered: