Skip to content

build(deps): bump actions/download-artifact from 2 to 4.1.7 in /.github/workflows #309

build(deps): bump actions/download-artifact from 2 to 4.1.7 in /.github/workflows

build(deps): bump actions/download-artifact from 2 to 4.1.7 in /.github/workflows #309

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