Skip to content

Commit

Permalink
Fix work-dir flag name in example (#2622)
Browse files Browse the repository at this point in the history
Just fixes a small typo in the example.
  • Loading branch information
ChristophReich1996 authored Feb 21, 2023
1 parent 409caf8 commit b2fdae7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/en/train.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ An example:
```shell
# checkpoints and logs saved in WORK_DIR=work_dirs/pspnet_r50-d8_512x512_80k_ade20k/
# If work_dir is not set, it will be generated automatically.
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
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
```

**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:
Expand Down

0 comments on commit b2fdae7

Please sign in to comment.