Car-Part-Detection / setup.sh
Sunnycodes3114's picture
Create setup.sh
e389d2c verified
Raw
History Blame Contribute Delete
368 Bytes
#!/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