JaidedAI / EasyOCR

Ready-to-use OCR with 80+ supported languages and all popular writing scripts including Latin, Chinese, Arabic, Devanagari, Cyrillic and etc.

Home Page:https://www.jaided.ai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Easy OCR Recognition Model Downloading Stuck on 99.9%

umanniyaz opened this issue · comments

Hi @JaidedTeam ,

When creating a docker image with following packages, easy ocr recognition model gets stuck at 99.9%

easyocr = 1.2.4
opencv-python==4.5.5.64
opencv-python-headless==4.5.5.64
torch==1.13.1
torchaudio==0.13.1
torchmetrics==0.11.0
torchvision==0.14.1

Downloading: 100%|██████████| 190/190 [00:00<00:00, 186kB/s]

Could not find image processor class in the image processor config or the model config. Loading based on pattern matching with the model's feature extractor configuration.

CUDA not available - defaulting to CPU. Note: This module is much faster with a GPU.

Downloading detection model, please wait. This may take several minutes depending upon your network connection.

Downloading recognition model, please wait. This may take several minutes depending upon your network connection.

Progress: |█████████████████████████████████████████████████-| 99.9% Completee

Due to this issue my Django Server does not start in a container.

Tried to load model from directory detectiona nd recognition like this :

reader = easyocr.Reader(['en'],model_storage_directory='./.EasyOCR/model/') but still server getting up remains stuck

Please help