Could not initialize NNPACK

Viewed 3116

I'm trying to run a model for generating art images. In Jupyter notebook ( on vs code ) the script run correctly but when I'm trying to run the same code on the .py file it gives this error :

[W NNPACK.cpp:80] Could not initialize NNPACK! Reason: Unsupported hardware.

1 Answers

Try reinstalling easyocr (if you are using it), from the official easyocr github repository

This worked for me:

pip install git+git://github.com/jaidedai/easyocr.git

"The message will probably still appear, but this will no longer prevent the program from running completely"

Related