Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 655 Bytes

INSTALL.md

File metadata and controls

30 lines (23 loc) · 655 Bytes

Installation

Requirements:

  • PyTorch 1.2 stable version. Installation instructions can be found in https://pytorch.org/get-started/locally/
  • torchvision from master
  • cocoapi
  • yacs
  • matplotlib
  • GCC >= 4.9
  • (optional) OpenCV for the webcam demo

Step-by-step installation

## install python packages
pip install torchvision
pip install yacs

# install pycocotools
git clone https://github.com/cocodataset/cocoapi.git
cd cocoapi/PythonAPI
python setup.py build_ext install

# install Project
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