Commit eeaae655 authored by Kai Chen's avatar Kai Chen
Browse files

update installation guide

parent 2a01c8fc
...@@ -42,13 +42,11 @@ popular detection projects. Results and models are available in the [Model zoo]( ...@@ -42,13 +42,11 @@ popular detection projects. Results and models are available in the [Model zoo](
### Requirements ### Requirements
- Linux (tested on Ubuntu 16.04 and CentOS 7.2) - 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 - PyTorch 0.4.1 and torchvision
- OpenCV - Cython
- [mmcv](https://github.com/open-mmlab/mmcv) - [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 ### Install mmdetection
a. Install PyTorch 0.4.1 and torchvision following the [official instructions](https://pytorch.org/). a. Install PyTorch 0.4.1 and torchvision following the [official instructions](https://pytorch.org/).
...@@ -63,6 +61,7 @@ c. Compile cuda extensions. ...@@ -63,6 +61,7 @@ c. Compile cuda extensions.
```shell ```shell
cd mmdetection 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 ./compile.sh # or "PYTHON=python3 ./compile.sh" if you use system python3 without virtual environments
``` ```
...@@ -94,6 +93,9 @@ mmdetection ...@@ -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 ## Inference with pretrained models
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment