#!/usr/bin/env bash
# Local-GPU preprocessing. Frames + CLIP embeddings + clips.
# Edit the defaults, or pass flags straight through on the command line.

set -euo pipefail
cd "$(dirname "$0")"

export CUDA_VISIBLE_DEVICES="${CUDA_VISIBLE_DEVICES:-0}"

python run_server.py \
    --step all \
    --uniform-n 64 128 256 \
    --fps 0.5 \
    --chunk-modes shot_grouped \
    "$@"
