git clone [email protected]:facebookresearch/detectron2.git
cd detectron2
python setup.py build develop
# or if you are on macOS# MACOSX_DEPLOYMENT_TARGET=10.9 CC=clang CXX=clang++ python setup.py build develop# or, as an alternative to `setup.py`, do# pip install .