We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c26a7f commit 9155d9eCopy full SHA for 9155d9e
mmseg/apis/train.py
@@ -107,7 +107,10 @@ def train_segmentor(model,
107
eval_cfg = cfg.get('evaluation', {})
108
eval_cfg['by_epoch'] = cfg.runner['type'] != 'IterBasedRunner'
109
eval_hook = DistEvalHook if distributed else EvalHook
110
- runner.register_hook(eval_hook(val_dataloader, **eval_cfg))
+ # In this PR (https://github.com/open-mmlab/mmcv/pull/1193), the
111
+ # priority of IterTimerHook has been modified from 'NORMAL' to 'LOW'.
112
+ runner.register_hook(
113
+ eval_hook(val_dataloader, **eval_cfg), priority='LOW')
114
115
if cfg.resume_from:
116
runner.resume(cfg.resume_from)
0 commit comments