Skip to content

Warmup suggestion #47

@ruimelodev

Description

@ruimelodev

I'm running QReader inside a Docker container that has a QR-code decode process with multiple threads.
Every time the container starts, all the threads start pulling the trained model and chaos erupts.

I've found a workaround by adding a warmup command in my Dockerfile:

RUN python -c "from qreader import QReader; QReader()"

However, it would be good to have some kind of bin to get these images, similar to how Kraken pulls theirs.
Something like:

qreader init

Thank you!

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