Skip to content

build(deps-dev): bump mypy from 1.8.0 to 1.10.0 #259

build(deps-dev): bump mypy from 1.8.0 to 1.10.0

build(deps-dev): bump mypy from 1.8.0 to 1.10.0 #259

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