#9 run configure.py
python3 ./configure.py --bootstrap
#10 cp
sudo cp ./ninja /usr/bin
#11 pip install libs
pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple/ opencv-python torch torchvision --default-timeout=100
#12 install detectron2
#python3 -m pip install 'git+https://github.com/facebookresearch/detectron2.git' -i https://pypi.tuna.tsinghua.edu.cn/simple
python3 -m pip install 'git+https://github.com/facebookresearch/detectron2.git' -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
#python3 -m pip install 'git+https://gitee.com/vinsonws/detectron2' -i https://pypi.tuna.tsinghua.edu.cn/simple
#python3 -m pip install 'git+https://gitee.com/vinsonws/detectron2' -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com

#13 install cuda --override
#14 install cudnn
