Models Catalog #194
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Models Catalog | |
on: | |
workflow_dispatch: | |
pull_request: | |
paths: | |
- 'models_catalog.json' | |
schedule: | |
- cron: '0 0 * * *' # This will run once a day at midnight UTC | |
jobs: | |
urls_hashes: | |
name: urls & hashes | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
- name: Install dependencies | |
run: python3 -m pip install -r requirements.txt | |
- name: Check models | |
run: python3 scripts/ci/models_check.py | |
- name: Checkout Visionatrix | |
uses: actions/checkout@v4 | |
with: | |
path: src_visionatrix | |
repository: Visionatrix/Visionatrix | |
- name: Install Visionatrix | |
run: | | |
python3 -m pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu | |
python3 -m pip install "src_visionatrix/." | |
- name: Check Nodes models | |
run: python3 scripts/ci/models_check.py --nodes_models |