Skip to content

Error in building image #18

Open
Open
@cordeirogustavo

Description

@cordeirogustavo

I'm trying to build the image but I get the following error in both docker-compose cpu and gpu, could you help me?

3.474 [output clipped, log limit 200KiB/s reached]
4.119 Traceback (most recent call last):
4.119 File "", line 1, in
4.119 File "/usr/local/lib/python3.12/site-packages/easyocr/easyocr.py", line 92, in init
4.119 detector_path = self.getDetectorPath(detect_network)
4.119 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4.119 File "/usr/local/lib/python3.12/site-packages/easyocr/easyocr.py", line 254, in getDetectorPath
4.119 assert calculate_md5(detector_path) == self.detection_models[self.detect_network]['md5sum'], corrupt_msg
Progress: |███�[+] Running 0/1██████████████████████████████-| 98.4% Completete^^^^^^^^^^^^^^^^^^^^^^
Progress: |████████████████████████� ⠙ Service celery_worker Building 217.2s ████████████████████-----| 90.1% Complete
[+] Running 0/1██████████████████████████████████████████████| 100.0% Complete
⠹ Service celery_worker Building 217.2s
failed to solve: process "/bin/sh -c python -c 'import easyocr; reader = easyocr.Reader(["fr", "de", "es", "en", "it", "pt"], gpu=True); print("EasyOCR models downloaded successfully")'" did not complete successfully: exit code: 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions