EasyOCR Torch Attribute problem
MidHaux911 opened this issue · comments
MidHaux911 commented
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'