mirror of https://github.com/open-mmlab/mmocr.git
[Docs] Fix confused description for load-from and resume-from (#842)
* fix confusions * fix confusionspull/841/head
parent
b0101839de
commit
368325f129
|
@ -22,8 +22,8 @@ CUDA_VISIBLE_DEVICES= python tools/train.py ${CONFIG_FILE} [ARGS]
|
|||
| ARGS | Type | Description |
|
||||
| ----------------- | --------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `--work-dir` | str | The target folder to save logs and checkpoints. Defaults to `./work_dirs`. |
|
||||
| `--load-from` | str | The checkpoint file to load from. |
|
||||
| `--resume-from` | bool | The checkpoint file to resume the training from. |
|
||||
| `--load-from` | str | Path to the pre-trained model, which will be used to initialize the network parameters. |
|
||||
| `--resume-from` | str | Resume training from a previously saved checkpoint, which will inherit the training epoch and optimizer parameters. |
|
||||
| `--no-validate` | bool | Disable checkpoint evaluation during training. Defaults to `False`. |
|
||||
| `--gpus` | int | **Deprecated, please use --gpu-id.** Numbers of gpus to use. Only applicable to non-distributed training. |
|
||||
| `--gpu-ids` | int*N | **Deprecated, please use --gpu-id.** A list of GPU ids to use. Only applicable to non-distributed training. |
|
||||
|
|
Loading…
Reference in New Issue