Skip to content

Commit

Permalink
add TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
Junjun2016 committed Dec 9, 2021
1 parent d055500 commit 7a6d411
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mmcv/runner/iter_based_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,8 @@ def resume(self,
# Raising warning when resuming models with different number of GPUs
# since the optimizer status are relative with batch size
# (#GPUs x bs/GPU)
# TODO Can also check the difference of config between checkpoint and
# current.
if 'config' in checkpoint['meta']:
config = mmcv.Config.fromstring(
checkpoint['meta']['config'], file_format='.py')
Expand Down

0 comments on commit 7a6d411

Please sign in to comment.