February 2018
Intermediate to advanced
218 pages
5h 31m
English
We will then download and install the Python dependencies as shown in the following code block:
# COCO API download and install# COCOAPI=/path/to/clone/cocoapigit clone https://github.com/cocodataset/cocoapi.git $COCOAPIcd $COCOAPI/PythonAPImake install# Detectron library download and install# DETECTRON=/path/to/clone/detectron
git clone https://github.com/facebookresearch/detectron $DETECTRONcd $DETECTRON/lib && make
Alternatively, we can download and use the Docker image of the environment (requires Nvidia GPU support):
# DOCKER image buildcd $DETECTRON/docker docker build -t detectron:c2-cuda9-cudnn7.nvidia-docker run --rm -it detectron:c2-cuda9-cudnn7 python2 ...
Read now
Unlock full access