[Docs] Fix example_project README (#1575)
parent
1e478462b8
commit
b058912c0c
|
@ -49,19 +49,19 @@ mim train mmpretrain configs/examplenet_8xb32_in1k.py --launcher slurm \
|
||||||
**To test with single GPU:**
|
**To test with single GPU:**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
mim test mmpretrain configs/examplenet_8xb32_in1k.py $CHECKPOINT
|
mim test mmpretrain configs/examplenet_8xb32_in1k.py --checkpoint $CHECKPOINT
|
||||||
```
|
```
|
||||||
|
|
||||||
**To test with multiple GPUs:**
|
**To test with multiple GPUs:**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
mim test mmpretrain configs/examplenet_8xb32_in1k.py $CHECKPOINT --launcher pytorch --gpus 8
|
mim test mmpretrain configs/examplenet_8xb32_in1k.py --checkpoint $CHECKPOINT --launcher pytorch --gpus 8
|
||||||
```
|
```
|
||||||
|
|
||||||
**To test with multiple GPUs by slurm:**
|
**To test with multiple GPUs by slurm:**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
mim test mmpretrain configs/examplenet_8xb32_in1k.py $CHECKPOINT --launcher slurm \
|
mim test mmpretrain configs/examplenet_8xb32_in1k.py --checkpoint $CHECKPOINT --launcher slurm \
|
||||||
--gpus 16 --gpus-per-node 8 --partition $PARTITION
|
--gpus 16 --gpus-per-node 8 --partition $PARTITION
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue