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

EasyOCR Torch Attribute problem #1238

Open
MidHaux911 opened this issue Apr 1, 2024 · 0 comments
Open

EasyOCR Torch Attribute problem #1238

MidHaux911 opened this issue Apr 1, 2024 · 0 comments

Comments

@MidHaux911
Copy link

I am facing problems on running my python code to test easy OCR

Traceback (most recent call last):
File "test.py", line 9, in
reader = easyocr.Reader(['en'], gpu=True)
File "/home/pedicab/.local/lib/python3.6/site-packages/easyocr/easyocr.py", line 75, in init
elif torch.backends.mps.is_available():
AttributeError: module 'torch.backends' has no attribute 'mps'

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