Skip to content

ReShot — copy the shot, not the actors. Video → depth map, OpenPose skeleton or canny lines for Seedance 2.0/2.5 reference video, MiniMax H3 Fun ControlNet and Wan VACE. Apache-2.0. Open-sourced by Maosika 猫斯卡 (www.maosika.com), the AI short-drama production system.

fix: declare torchvision (vendored model imports it); CI installs it from the CPU index

wangfeng8c118ee36aeb
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 2d36c29..8ca56f0 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -18,7 +18,7 @@ jobs:
- name: Install (CPU torch)
run: |
python -m pip install -U pip
- python -m pip install torch --index-url https://download.pytorch.org/whl/cpu
+ python -m pip install torch torchvision --index-url https://download.pytorch.org/whl/cpu
python -m pip install -e ".[ffmpeg,dev]"
- run: python -m pytest -q tests
@@ -35,6 +35,6 @@ jobs:
key: hf-vda-small-v1
- run: |
python -m pip install -U pip
- python -m pip install torch --index-url https://download.pytorch.org/whl/cpu
+ python -m pip install torch torchvision --index-url https://download.pytorch.org/whl/cpu
python -m pip install -e ".[ffmpeg,dev]"
- run: RUN_MODEL_TESTS=1 python -m pytest -q tests/test_model_smoke.py -s
diff --git a/pyproject.toml b/pyproject.toml
index 2eef4df..512852d 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -18,6 +18,7 @@ classifiers = [
]
dependencies = [
"torch>=2.1",
+ "torchvision>=0.16",
"numpy>=1.24",
"opencv-python-headless>=4.8",
"einops>=0.4",