Skip to content
Snippets Groups Projects
Commit eeaae655 authored by Kai Chen's avatar Kai Chen
Browse files

update installation guide

parent 2a01c8fc
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment