Skip to content

Commit 6f04828

Browse files
[Enhance] Update README document in Project (open-mmlab#9599)
1 parent 73e5960 commit 6f04828

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

projects/SparseInst/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ python -m torch.distributed.launch --nnodes=1 --node_rank=0 --nproc_per_node=${N
4848
In MMDetection's root directory, run the following command to test the model:
4949

5050
```bash
51-
python tools/train.py projects/SparseInst/configs/sparseinst_r50_iam_8xb8-ms-270k_coco.py ${CHECKPOINT_PATH}
51+
python tools/test.py projects/SparseInst/configs/sparseinst_r50_iam_8xb8-ms-270k_coco.py ${CHECKPOINT_PATH}
5252
```
5353

5454
## Results

projects/example_project/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ In MMDetection's root directory, run the following command to train the model:
2222
python tools/train.py projects/example_project/configs/faster-rcnn_dummy-resnet_fpn_1x_coco.py
2323
```
2424

25+
For multi-gpu training, run:
26+
27+
```bash
28+
python -m torch.distributed.launch --nnodes=1 --node_rank=0 --nproc_per_node=${NUM_GPUS} --master_port=29506 --master_addr="127.0.0.1" tools/train.py projects/example_project/configs/faster-rcnn_dummy-resnet_fpn_1x_coco.py
29+
```
30+
2531
### Testing commands
2632

2733
In MMDetection's root directory, run the following command to test the model:

0 commit comments

Comments
 (0)