Skip to content

build(deps): bump the gh-actions group with 7 updates #262

build(deps): bump the gh-actions group with 7 updates

build(deps): bump the gh-actions group with 7 updates #262

Workflow file for this run

name: scripts
on:
push:
branches: main
pull_request:
branches: main
jobs:
cam-example:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python: [3.9]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
architecture: x64
- name: Install dependencies
run: |
python -m pip install --upgrade uv
uv pip install --system --upgrade -e .
uv pip install --system -r scripts/requirements.txt
- name: Run analysis script
run: python scripts/cam_example.py --arch resnet18 --class-idx 232 --noblock --method LayerCAM
eval-latency:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python: [3.9]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
architecture: x64
- name: Install dependencies
run: |
python -m pip install --upgrade uv
uv pip install --system --upgrade -e .
uv pip install --system -r scripts/requirements.txt
- name: Run analysis script
run: python scripts/eval_latency.py --arch resnet18 LayerCAM