JaidedAI / EasyOCR

Ready-to-use OCR with 80+ supported languages and all popular writing scripts including Latin, Chinese, Arabic, Devanagari, Cyrillic and etc.

Home Page:https://www.jaided.ai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EasyOCR Torch Attribute problem

MidHaux911 opened this issue · comments

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'