[英]easyocr WARNING CUDA not available - defaulting to CPU. Note: This module is much faster with a GPU
I reference this post to check my cuda driver.我参考这篇文章来检查我的 cuda 驱动程序。 It's meet the requirements.
是符合要求的。 But torch still can't use GPU.
但是火炬仍然不能使用GPU。
operating system info: Windows 10操作系统信息: Windows 10
package and env info:包和环境信息:
(.env) PS E:\TMP> nvidia-smi
Tue Dec 20 14:25:12 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 512.77 Driver Version: 512.77 CUDA Version: 11.6 |
(.env) PS E:\TMP> python
Python 3.10.4 (tags/v3.10.4:9d38120, Mar 23 2022, 23:13:41) [MSC v.1929 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import torch
>>> torch.cuda.is_available()
False
(.env) PS E:\TMP> pip freeze
...
easyocr==1.6.2
opencv-python==4.6.0.66
opencv-python-headless==4.5.4.60
torch==1.13.1
torchaudio==0.13.1+cu116
torchvision==0.14.1
Any help will appreciate.任何帮助将不胜感激。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.