mirror of
https://github.com/qurator-spk/eynollah.git
synced 2025-10-06 14:39:55 +02:00
ci: ocr models
This commit is contained in:
parent
b4d460ca79
commit
4c6405713a
1 changed files with 6 additions and 1 deletions
7
.github/workflows/test-eynollah.yml
vendored
7
.github/workflows/test-eynollah.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue