Spaces:
Runtime error
Runtime error
Download script/install.sh from aikenml/Segment-And-Track-Anything-Model: direct link, hf CLI and curl.
- Browser
- Download file 510 Bytes
-
https://huggingface.co/spaces/aikenml/Segment-And-Track-Anything-Model/resolve/main/script/install.sh
- Command line
-
hf download hf://spaces/aikenml/Segment-And-Track-Anything-Model/script/install.sh
-
curl -L -o install.sh https://huggingface.co/spaces/aikenml/Segment-And-Track-Anything-Model/resolve/main/script/install.sh
510 Bytes
| # Install SAM | |
| cd sam; pip install -e . | |
| cd - | |
| # Install Grounding-Dino | |
| pip install -e git+https://github.com/IDEA-Research/GroundingDINO.git@main#egg=GroundingDINO | |
| # Install other lib | |
| pip install numpy opencv-python pycocotools matplotlib Pillow scikit-image | |
| #pip uninstall gradio | |
| #pip install gradio | |
| #pip install gradio zip gdown ffmpeg | |
| # Install Pytorch Correlation | |
| git clone https://github.com/ClementPinard/Pytorch-Correlation-extension.git | |
| cd Pytorch-Correlation-extension | |
| python setup.py install | |
| cd - | |