Skip to content

Commit b2fdae7

Browse files
Fix work-dir flag name in example (open-mmlab#2622)
Just fixes a small typo in the example.
1 parent 409caf8 commit b2fdae7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/en/train.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ An example:
7373
```shell
7474
# checkpoints and logs saved in WORK_DIR=work_dirs/pspnet_r50-d8_512x512_80k_ade20k/
7575
# If work_dir is not set, it will be generated automatically.
76-
sh tools/dist_train.sh configs/pspnet/pspnet_r50-d8_512x512_80k_ade20k.py 8 --work_dir work_dirs/pspnet_r50-d8_512x512_80k_ade20k/ --deterministic
76+
sh tools/dist_train.sh configs/pspnet/pspnet_r50-d8_512x512_80k_ade20k.py 8 --work-dir work_dirs/pspnet_r50-d8_512x512_80k_ade20k/ --deterministic
7777
```
7878

7979
**Note**: During training, checkpoints and logs are saved in the same folder structure as the config file under `work_dirs/`. Custom work directory is not recommended since evaluation scripts infer work directories from the config file name. If you want to save your weights somewhere else, please use symlink, for example:

0 commit comments

Comments
 (0)