Skip to content

Commit

Permalink
[Enhance] Update README document in Project (#9599)
Browse files Browse the repository at this point in the history
  • Loading branch information
BIGWangYuDong committed Jan 10, 2023
1 parent 73e5960 commit 6f04828
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion projects/SparseInst/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ python -m torch.distributed.launch --nnodes=1 --node_rank=0 --nproc_per_node=${N
In MMDetection's root directory, run the following command to test the model:

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

## Results
Expand Down
6 changes: 6 additions & 0 deletions projects/example_project/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ In MMDetection's root directory, run the following command to train the model:
python tools/train.py projects/example_project/configs/faster-rcnn_dummy-resnet_fpn_1x_coco.py
```

For multi-gpu training, run:

```bash
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
```

### Testing commands

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

0 comments on commit 6f04828

Please sign in to comment.