From eeaae6558d904a28a38877aaa1bde57428c2a1c7 Mon Sep 17 00:00:00 2001 From: Kai Chen <chenkaidev@gmail.com> Date: Fri, 12 Oct 2018 16:25:02 +0800 Subject: [PATCH] update installation guide --- README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 527ce29..46a9fcf 100644 --- a/README.md +++ b/README.md @@ -42,13 +42,11 @@ popular detection projects. Results and models are available in the [Model zoo]( ### Requirements - Linux (tested on Ubuntu 16.04 and CentOS 7.2) -- Python 2.7+ or 3.4+ +- Python 3.4+ - PyTorch 0.4.1 and torchvision -- OpenCV +- Cython - [mmcv](https://github.com/open-mmlab/mmcv) -> Note: Though mmdetection is compatible with Python 2/3, python 3 is recommended and we do not promise future support for Python 2. - ### Install mmdetection a. Install PyTorch 0.4.1 and torchvision following the [official instructions](https://pytorch.org/). @@ -63,6 +61,7 @@ c. Compile cuda extensions. ```shell cd mmdetection +pip install cython # or "conda install cython" if you prefer conda ./compile.sh # or "PYTHON=python3 ./compile.sh" if you use system python3 without virtual environments ``` @@ -94,6 +93,9 @@ mmdetection ``` +> [Here](https://gist.github.com/hellock/bf23cd7348c727d69d48682cb6909047) is +a script for setting up mmdetection with conda for reference. + ## Inference with pretrained models -- GitLab