CoolFace
Apppublic

fffiloni/VACE-Annotators

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes
install_annotators_deps.sh27 linesDownload Raw Back to root
1#!/bin/bash2set -e  # Exit immediately if a command fails3 4echo "๐Ÿ”ง Upgrading pip, setuptools, and wheel to modern versions..."5python -m pip install --upgrade --no-cache-dir "pip==23.2.1" setuptools wheel6 7# Confirm versions8PIP_CMD=$(which pip)9echo "๐Ÿ Python version: $(python --version)"10echo "๐Ÿ“ฆ Pip version: $($PIP_CMD --version)"11 12echo "โšก๏ธ Installing optional build tool 'ninja'..."13$PIP_CMD install --no-cache-dir ninja14 15echo "๐Ÿ“ฆ Installing standard dependencies..."16$PIP_CMD install --no-cache-dir \17    insightface \18    git+https://github.com/facebookresearch/sam2.git \19    git+https://github.com/facebookresearch/segment-anything.git \20    git+https://github.com/xinyu1205/recognize-anything.git \21    git+https://github.com/martin-chobanyan-sdc/RAFT.git22 23echo "๐Ÿ“ฅ Installing GroundingDINO from PyPI package groundingdino-py..."24$PIP_CMD install --no-cache-dir groundingdino-py25 26echo "โœ… All dependencies installed successfully."27