EasyOCR icon indicating copy to clipboard operation
EasyOCR copied to clipboard

Got NNPack Error (MBP M1 Pro)

Open great69 opened this issue 1 year ago • 3 comments

I encounter this error when I try to use easyocr for the first time:

image

What should I do to fix this "[W NNPACK.cpp:64] Could not initialize NNPACK! Reason: Unsupported hardware" error?

Note: I created a new conda env with python ver 3.8.16 and install easyocr using pip.

Thanks!

great69 avatar May 21 '23 03:05 great69

I'm also facing the same issue. Any solutions?

ssarthak598 avatar May 22 '23 08:05 ssarthak598

I have the same problem, can you solve it?

shihaoLiua avatar Jul 14 '23 02:07 shihaoLiua

Have you ever tried downgrading torch? I got the same message and EasyOCR didn't work, but after downgrading the torch it works fine, even though the message still appear.

The version I'm using now:

  • python:3.8-slim
  • pip install torch==1.8.1 torchvision==0.9.1 --extra-index-url https://download.pytorch.org/whl/lts/1.8/cpu

minyukim avatar May 08 '24 07:05 minyukim