|
|
|
@ -25,12 +25,17 @@ jobs:
|
|
|
|
|
df -h
|
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
|
- uses: actions/cache@v4
|
|
|
|
|
id: model_cache
|
|
|
|
|
id: seg_model_cache
|
|
|
|
|
with:
|
|
|
|
|
path: models_eynollah
|
|
|
|
|
key: ${{ runner.os }}-models
|
|
|
|
|
- uses: actions/cache@v4
|
|
|
|
|
id: bin_model_cache
|
|
|
|
|
with:
|
|
|
|
|
path: default-2021-03-09
|
|
|
|
|
key: ${{ runner.os }}-modelbin
|
|
|
|
|
- name: Download models
|
|
|
|
|
if: steps.model_cache.outputs.cache-hit != 'true'
|
|
|
|
|
if: steps.seg_model_cache.outputs.cache-hit != 'true' || steps.bin_model_cache.outputs.cache-hit != 'true'
|
|
|
|
|
run: make models
|
|
|
|
|
- name: Set up Python ${{ matrix.python-version }}
|
|
|
|
|
uses: actions/setup-python@v5
|
|
|
|
|