Skip to content

Commit

Permalink
[Doc]: update customize_runtime.md (open-mmlab#9797)
Browse files Browse the repository at this point in the history
  • Loading branch information
co63oc authored Feb 19, 2023
1 parent 56a3485 commit d8d03bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/en/tutorials/customize_runtime.md
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ There are some common hooks that are not registered through `custom_hooks`, they

In those hooks, only the logger hook has the `VERY_LOW` priority, others' priority are `NORMAL`.
The above-mentioned tutorials already covers how to modify `optimizer_config`, `momentum_config`, and `lr_config`.
Here we reveals how what we can do with `log_config`, `checkpoint_config`, and `evaluation`.
Here we reveal how what we can do with `log_config`, `checkpoint_config`, and `evaluation`.

#### Checkpoint config

Expand All @@ -297,7 +297,7 @@ The MMCV runner will use `checkpoint_config` to initialize [`CheckpointHook`](ht
checkpoint_config = dict(interval=1)
```

The users could set `max_keep_ckpts` to only save only small number of checkpoints or decide whether to store state dict of optimizer by `save_optimizer`. More details of the arguments are [here](https://mmcv.readthedocs.io/en/latest/api.html#mmcv.runner.CheckpointHook)
The users could set `max_keep_ckpts` to save only small number of checkpoints or decide whether to store state dict of optimizer by `save_optimizer`. More details of the arguments are [here](https://mmcv.readthedocs.io/en/latest/api.html#mmcv.runner.CheckpointHook)

#### Log config

Expand Down

0 comments on commit d8d03bf

Please sign in to comment.