Spaces:
Runtime error
Runtime error
| # 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 | |