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
```
d. Install mmdetection (other dependencies will be installed automatically).
e. Install mmdetection (other dependencies will be installed automatically).
```shell
python(3) setup.py install# add --user if you want to install it locally
# or "pip install ."
python setup.py develop
# or "pip install -e ."
```
Note: You need to run the last step each time you pull updates from github.
The git commit id will be written to the version number and also saved in trained models.
Note:
1. It is recommended that you run the step e each time you pull some updates from github. If there are some updates of the C/CUDA codes, you also need to run step d.
The git commit id will be written to the version number with step e, e.g. 0.6.0+2e7045c. The version will also be saved in trained models.
2. Following the above instructions, mmdetection is installed on `dev` mode, any modifications to the code will take effect without installing it again.
### Prepare COCO dataset.
...
...
@@ -58,7 +79,7 @@ mmdetection
```
### Scripts
Just for reference, [Here](https://gist.github.com/hellock/bf23cd7348c727d69d48682cb6909047) is
[Here](https://gist.github.com/hellock/bf23cd7348c727d69d48682cb6909047) is