ci: ocr models

This commit is contained in:
kba 2025-09-25 22:19:36 +02:00
parent b4d460ca79
commit 4c6405713a

View file

@ -29,13 +29,18 @@ jobs:
with: with:
path: models_layout_v0_5_0 path: models_layout_v0_5_0
key: ${{ runner.os }}-models key: ${{ runner.os }}-models
- uses: actions/cache@v4
id: ocr_model_cache
with:
path: models_ocr_v0_5_0
key: ${{ runner.os }}-models
- uses: actions/cache@v4 - uses: actions/cache@v4
id: bin_model_cache id: bin_model_cache
with: with:
path: default-2021-03-09 path: default-2021-03-09
key: ${{ runner.os }}-modelbin key: ${{ runner.os }}-modelbin
- name: Download models - name: Download models
if: steps.seg_model_cache.outputs.cache-hit != 'true' || steps.bin_model_cache.outputs.cache-hit != 'true' if: steps.seg_model_cache.outputs.cache-hit != 'true' || steps.bin_model_cache.outputs.cache-hit != 'true' || steps.ocr_model_cache.outputs.cache-hit != true
run: make models run: make models
- name: Set up Python ${{ matrix.python-version }} - name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5 uses: actions/setup-python@v5