#!/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//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 "$@"