mirror of
https://github.com/open-mmlab/mmfewshot.git
synced 2025-06-03 14:49:43 +08:00
reset eval hook priority
This commit is contained in:
parent
132250a0d5
commit
624bce637e
@ -123,8 +123,7 @@ def train_model(model: Union[MMDataParallel, MMDistributedDataParallel],
|
||||
all_data_loader,
|
||||
num_test_tasks=meta_test_cfg['num_episodes'],
|
||||
**eval_cfg),
|
||||
# make eval hook (45) run before checkpoint saver hook (50)
|
||||
priority=45)
|
||||
priority='LOW')
|
||||
|
||||
# user-defined hooks
|
||||
if cfg.get('custom_hooks', None):
|
||||
|
Loading…
x
Reference in New Issue
Block a user