Skip to content

first install download model problem #357

@hyqhy

Description

@hyqhy

hi;
i installed surya just now. when i want to test it, it begins to download models first. but stucks there.
i checked this url "https://models.datalab.to/text_recognition/2025_02_18/model.safetensors" and i can not open it even in browser.
i can reach "datalab.to" site with no problem.

please see below;

H:\surya-ocr>python test.py
Downloading text_recognition model...: 0%| | 0/9 [00:00<?, ?it/s]Download error for file https://models.datalab.to/text_recognition/2025_02_18/model.safetensors: [SSL: DECRYPTION_FAILED_OR_BAD_RECORD_MAC] decryption failed or bad record mac (_ssl.c:2570)
Error downloading model from text_recognition/2025_02_18. Attempt 1 of 3. Error: [SSL: DECRYPTION_FAILED_OR_BAD_RECORD_MAC] decryption failed or bad record mac (_ssl.c:2570)
Retrying in 5 seconds...
Download error for file https://models.datalab.to/text_recognition/2025_02_18/model.safetensors: [SSL: DECRYPTION_FAILED_OR_BAD_RECORD_MAC] decryption failed or bad record mac (_ssl.c:2570)
Error downloading model from text_recognition/2025_02_18. Attempt 2 of 3. Error: [SSL: DECRYPTION_FAILED_OR_BAD_RECORD_MAC] decryption failed or bad record mac (_ssl.c:2570)
Retrying in 5 seconds...
Downloading text_recognition model...: 0%| | 0/9 [00:17<?, ?it/s]
Downloading text_recognition model...: 0%| | 0/9 [00:09<?, ?it/s]
Download error for file https://models.datalab.to/text_recognition/2025_02_18/model.safetensors: [SSL: DECRYPTION_FAILED_OR_BAD_RECORD_MAC] decryption failed or bad record mac (_ssl.c:2570)
Error downloading model from text_recognition/2025_02_18. Attempt 3 of 3. Error: [SSL: DECRYPTION_FAILED_OR_BAD_RECORD_MAC] decryption failed or bad record mac (_ssl.c:2570)
Failed to download text_recognition/2025_02_18 after 3 attempts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions