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 not available - defaulting to CPU. Note: This module is much faster with a GPU." #223

Closed
hilaloytun opened this issue Aug 15, 2020 · 4 comments

Comments

@hilaloytun
Copy link

Hello,
I today started to try to use EasyOCR.
It is stuck, makes no progress, it's been waiting like that for more than 1 hour. What can I do to solve that?

CUDA not available - defaulting to CPU. Note: This module is much faster with a GPU.
Downloading detection model, please wait. This may take several minutes depending upon your network connection.
Downloading recognition model, please wait. This may take several minutes depending upon your network connection.

no progress

@rkcosmos
Copy link
Contributor

I think it's download issue. You can try to download model manually here. For you it's arabic.zip. After download is done, unzip it and put the model file to 'yourhomedirectory/.EasyOCR/model'.

@hilaloytun
Copy link
Author

Thank you for your fast reply Rakpong.
I did as you said, but it didn't work ....
Now it only gives: "CUDA not available - defaulting to CPU. Note: This module is much faster with a GPU."
no progress 2

I uninstalled and and reinstalled EasyOCR just in case: "Successfully installed easyocr-1.1.7",
still the same. Another suggestion?

@rkcosmos
Copy link
Contributor

"CUDA not available - defaulting to CPU. Note: This module is much faster with a GPU." is not an error, it's just a warning. Output is already in result variable. You can just type print(result) to see the output.

@Oschenker
Copy link

"CUDA not available - defaulting to CPU..." is not an error...
Hi. I have the same problem. I know that it is not a error. But, when it was available script has performed much faster. What might be a problem. I installed CUDA 11.7, then changed to CUDA 10.2. And then changed back to 11.7. After that it ceased to work. I tried to reinstall CUDA 11.7. Check environment path and CUDA path. Everywhere is correct version. I tried CUDA version with nvcc --version command. It shows :

nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2022 NVIDIA Corporation
Built on Wed_Jun__8_16:59:34_Pacific_Daylight_Time_2022
Cuda compilation tools, release 11.7, V11.7.99
Build cuda_11.7.r11.7/compiler.31442593_0

Still, it is not available to easyocr.

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

3 participants