Spaces:
Runtime error
Runtime error
File size: 368 Bytes
e389d2c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | #!/bin/bash
# Upgrade pip
pip install --no-cache-dir --upgrade pip
# Install PyTorch and torchvision first
pip install torch==1.13.1+cpu torchvision==0.14.1+cpu -f https://download.pytorch.org/whl/torch_stable.html
# Install Detectron2
pip install git+https://github.com/facebookresearch/detectron2.git
# Install other dependencies
pip install -r requirements.txt
|