./compile.sh # or "PYTHON=python3 ./compile.sh" if you use system python3 without virtual environments
```
Install mmdetection (other dependencies will be installed automatically).
d. 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 ."
```
> Note: You need to run the installing step each time you pull updates from github. Git commit id will be written to the version number and also saved in trained models.
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.
Prepare COCO dataset
### Prepare COCO dataset.
It is recommended to symlink the dataset root to `$MMDETECTION/data`.
...
...
@@ -92,6 +97,18 @@ mmdetection
## Inference with pretrained models
### Test a dataset
- [x] single GPU testing
- [x] multiple GPU testing
- [x] visualize detection results
We allow to run one or multiple processes on each GPU, e.g. 8 processes on 8 GPU
or 16 processes on 8 GPU. When the GPU workload is not very heavy for a single
process, running multiple processes will accelerate the testing, which is specified
with the argument `--proc_per_gpu <PROCESS_NUM>`.
To test a dataset and save the results.
```shell
...
...
@@ -112,14 +129,41 @@ For example, to evaluate Mask R-CNN with 8 GPUs and save the result as `results.