You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
./compile.sh # or "PYTHON=python3 ./compile.sh" if you use system python3 without virtual environments
63
67
```
64
68
65
-
Install mmdetection (other dependencies will be installed automatically).
69
+
d. Install mmdetection (other dependencies will be installed automatically).
66
70
67
71
```shell
68
72
python(3) setup.py install # add --user if you want to install it locally
69
73
# or "pip install ."
70
74
```
71
75
72
-
> 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.
76
+
Note: You need to run the last step each time you pull updates from github.
77
+
The git commit id will be written to the version number and also saved in trained models.
73
78
74
-
Prepare COCO dataset
79
+
### Prepare COCO dataset.
75
80
76
81
It is recommended to symlink the dataset root to `$MMDETECTION/data`.
77
82
@@ -92,6 +97,18 @@ mmdetection
92
97
93
98
## Inference with pretrained models
94
99
100
+
### Test a dataset
101
+
102
+
-[x] single GPU testing
103
+
-[x] multiple GPU testing
104
+
-[x] visualize detection results
105
+
106
+
We allow to run one or multiple processes on each GPU, e.g. 8 processes on 8 GPU
107
+
or 16 processes on 8 GPU. When the GPU workload is not very heavy for a single
108
+
process, running multiple processes will accelerate the testing, which is specified
109
+
with the argument `--proc_per_gpu <PROCESS_NUM>`.
110
+
111
+
95
112
To test a dataset and save the results.
96
113
97
114
```shell
@@ -112,14 +129,41 @@ For example, to evaluate Mask R-CNN with 8 GPUs and save the result as `results.
0 commit comments