You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The EvalHook is registered in apis/train.py by runner.register_hook(eval_hook(val_dataloader, **eval_cfg))
Then mmcv will give EvalHook a default "NORMAL" priority, (NORMAL=50), But the CheckpointHook's default priority is 70.
This means the runner will eval firstly and then save the checkpoint. If there is a bug in the eval-code, and the program crashes, this checkpoint will not be saved. This will cause waste, especially for the time-consuming epoch.
The text was updated successfully, but these errors were encountered:
The EvalHook is registered in
apis/train.py
byrunner.register_hook(eval_hook(val_dataloader, **eval_cfg))
Then mmcv will give EvalHook a default "NORMAL" priority, (NORMAL=50), But the CheckpointHook's default priority is 70.
This means the runner will eval firstly and then save the checkpoint. If there is a bug in the eval-code, and the program crashes, this checkpoint will not be saved. This will cause waste, especially for the time-consuming epoch.
The text was updated successfully, but these errors were encountered: