Skip to content

Commit 9e8b14d

Browse files
zactoddRangiLyu
andauthored
Clearer verification of installation (#6764)
* Clearer verification of installation Increase the clarity of the installation process by downloading the model used in the verification sample code. * Fix spelling mistake Foxed spelling mistake in verification subsection Co-authored-by: RangiLyu <[email protected]> Co-authored-by: RangiLyu <[email protected]>
1 parent 72477e1 commit 9e8b14d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/en/get_started.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,11 @@ PYTHONPATH="$(dirname $0)/..":$PYTHONPATH
229229
230230
## Verification
231231
232-
To verify whether MMDetection is installed correctly, we can run the following sample code to initialize a detector and inference a demo image.
232+
To verify whether MMDetection is installed correctly, we can run the following sample code to initialize a detector and inference a demo image, but first we need to download config and checkpoint files.
233+
234+
```shell
235+
mim download mmdet --config faster_rcnn_r50_fpn_1x_coco --dest .
236+
```
233237
234238
```python
235239
from mmdet.apis import init_detector, inference_detector

0 commit comments

Comments
 (0)