- vg-remove: object/logo/watermark removal via ProPainter on MPS; static --box, SAM2-tracked --point for moving objects, or user --mask. Output always scaled back to source dims (imageio macro-block-pads ProPainter output). - vg-interp: RIFE frame interpolation via rife-ncnn-vulkan (universal binary, native Metal/MoltenVK, rife-v4.6); smooth (fps x N) or --slowmo. - vg-cutie: Cutie interactive segmentation GUI launcher (local GUI session). - setup/fetch_phase2.sh: idempotent clones + weights + deps + patches. - patches: propainter-cv2-reader (torchvision >= 0.23 removed read_video), cutie-device (get_default_model hard-coded .cuda(); now cuda->mps->cpu). - smoke_test.sh: adds the RIFE lane (skips when not fetched). - Farm: vidgod_roto/vidgod_index operators live in MODELBEAST (8965d22), verified from JING5; weights mirrored to NAS modelzoo/vidgod-weights. All lanes verified on ultra 2026-08-24: de-logo reconstruction eyeballed clean, 24->48fps interp, Cutie headless propagation PASS, smoke test 4/4. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
16 lines
701 B
Bash
Executable File
16 lines
701 B
Bash
Executable File
#!/bin/zsh
|
|
# vg-cutie — launch the Cutie interactive segmentation GUI (scribble/click on the
|
|
# actor, propagate, correct, export per-frame masks).
|
|
#
|
|
# Usage: vg-cutie --video CLIP.mp4 [--num_objects N] [--workspace DIR]
|
|
# vg-cutie --images FRAME_DIR
|
|
#
|
|
# Needs a GUI session on this Mac (run from Terminal, not plain SSH).
|
|
# Masks land in the workspace dir (default ./workspace/<video-name>/masks) —
|
|
# feed them to vg-remove via --mask, or use them as roto sources.
|
|
export PATH=/opt/homebrew/bin:/usr/bin:/bin:/usr/sbin:/sbin
|
|
export PYTORCH_ENABLE_MPS_FALLBACK=1
|
|
VG="$(cd "$(dirname "$0")/.." && pwd)"
|
|
cd "$VG/tools/Cutie" || exit 1
|
|
exec "$VG/venvs/roto/bin/python" interactive_demo.py "$@"
|