faustomorales / keras-ocr

A packaged and flexible version of the CRAFT text detector and Keras CRNN recognition model.
https://keras-ocr.readthedocs.io/
MIT License
1.38k stars 355 forks source link

AssertionError: Error occurred verifying sha256. #121

Closed vishnukv64 closed 3 years ago

vishnukv64 commented 3 years ago

After installing via pip and i tried running this piece of code pipeline = keras_ocr.pipeline.Pipeline()

it throws an sha256 error Screenshot from 2020-09-10 01-42-24

Any thoughts?

cmdlinebeep commented 3 years ago

@vishnukv64 What was the solution? I just ran into this too trying to follow along the Notebook.

vishnukv64 commented 3 years ago

@vishnukv64 What was the solution? I just ran into this too trying to follow along the Notebook.

I still didn't solve this !! There is another thread open for this issue

I kinda did a temporary fix by directly downloading the weights to ./keras-ocr location and it runs

Will need to check for future updates for this fix

cmdlinebeep commented 3 years ago

Thanks vishnukv64, I did search for other issues but apparently missed it. :-) https://github.com/faustomorales/keras-ocr/issues/117