New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in easyocr.Reader with urlretrieve(model_url[model_file][0], MODEL_PATH) #191
Comments
I am running into the same issue It is Download issues that happens due to network overload(multiple people trying to download at the same time) See #11 |
Thanks @Proteusiq ! Now the only question i have is how to download Indonesian lang model 😅 |
Indonesian language use latin model. If latin model is downloaded and placed in model directory. You should be able to call |
Thanks @rkcosmos! |
I plan to move download part behind Cloudflare and let them handle the traffic. |
The manual download also doesn't work. I checked it (e.g. wget https://www.jaided.ai/read_download/cyrillic.pth -O /content/models/cyrillic.pth and just using a browser download) after several seconds, downloading is interrupted |
too many people trying to get model, I will move it behind Cloudflare tomorrow, otherwise I'm going to broke because of traffic bill. |
I encounter the same issue, where can I download the simple Chinese model instead of the Latin model. |
All links are on README. |
can you please tell me where to put those files after downloading??? |
@xhimalaya Place them in ~/.EasyOCR/model. That directory is created when easyocr is installed. |
sorry, my website is down |
it should be up now. |
nope, still not working |
not sure what's going on. At least website is up. You can also try manual download links from google drive. The links are on README. |
A Suggestion to @rkcosmos You can host the models on https://gofile.io and add the direct download link as a mirror link to it so that if the model fails to download from your website it can retry to download from Gofile.io for the meantime till you host the models on Cloudflare. |
thanks for the suggestion, it's already behind CDN. Good to know the alternative. |
@Vijayabhaskar96 @rkcosmos I think there is a way to do it like in the spacy package and model for spacy. They just provide models through assets on the GitHub and module for downloading it e.g. https://github.com/explosion/spaCy/releases/tag/v2.3.0 and another option is just google drive (retrieving using https://pypi.org/project/gdown/) |
@imvladikon @Vijayabhaskar96 At the end, cloudflare doesn't allow heavy download traffic. I end up with downloading from google drive. thanks for ur suggestion. |
Hello!
Thanks for that amazing library first of all!
Could someone please help to resolve the issue i encountered today only (yesterday and before it was working smoothly).
in my code i have let's say:
When i run it - i am getting the following error:
Regardless what language i choose - i face this error in all the environments:
Diving deeper it tries to download the following file:
https://www.jaided.ai/read_download/latin.pth
which i wasn't able to download with wget, curl or browser as well for the same issue.
Seems https://www.jaided.ai/ resets the connection during download
The text was updated successfully, but these errors were encountered: