Skip to content

fix portrait selection: score candidates to avoid NaN-corrupted frames #11

fix portrait selection: score candidates to avoid NaN-corrupted frames

fix portrait selection: score candidates to avoid NaN-corrupted frames #11

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Check syntax
run: python -m py_compile animatediff/models/motion_module.py animatediff/models/unet.py animatediff/pipelines/pipeline_animation.py
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install --upgrade pip
pip install torch torchvision --index-url https://download.pytorch.org/whl/cpu
pip install -r requirements.txt
pip install pytest
- name: Run tests
run: pytest tests/ -v --tb=short