Skip to content

Commit 8d997db

Browse files
authoredDec 9, 2020
fix markdown (#4265)
1 parent bec3fc1 commit 8d997db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎docs/tutorials/customize_runtime.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ so that 1 epoch for training and 1 epoch for validation will be run iteratively.
180180

181181
1. The parameters of model will not be updated during val epoch.
182182
2. Keyword `total_epochs` in the config only controls the number of training epochs and will not affect the validation workflow.
183-
3. Workflows `[('train', 1), ('val', 1)]` and `[('train', 1)]` will not change the behavior of `EvalHook` because `EvalHook` is called by `after_train_epoch` and validation workflow only affect hooks that are called through `after_val_epoch`. Therefore, the only difference between `[('train', 1), ('val', 1)]` and ``[('train', 1)]` is that the runner will calculate losses on validation set after each training epoch.
183+
3. Workflows `[('train', 1), ('val', 1)]` and `[('train', 1)]` will not change the behavior of `EvalHook` because `EvalHook` is called by `after_train_epoch` and validation workflow only affect hooks that are called through `after_val_epoch`. Therefore, the only difference between `[('train', 1), ('val', 1)]` and `[('train', 1)]` is that the runner will calculate losses on validation set after each training epoch.
184184

185185
## Customize hooks
186186

0 commit comments

Comments
 (0)