- create a new environment using below command.
conda create -n env_name python=3.8
- install pytorch using below command.
pip install torch==1.10.1+cu111 torchvision==0.11.2+cu111 torchaudio==0.10.1 -f https://download.pytorch.org/whl/cu111/torch_stable.html
- now clone this current repo using below example.
git clone "repo_dir"
- go to the clone directory.
cd detectron2
- now install the detectron2 using local repository.
python -m pip install -e .
- or use the install below command to install detectron2 using git+ command.
python -m pip install 'git+https://github.com/Frinks-ai/detectron2'