Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BugFix][Torchvision] update optimizer state dict before transfer lea…
…rning (#1358) * Add: an `_update_checkpoint_optimizer(...)` for deleting mismatching params from saved optimizer(s) state_dict * Remove: _update_checkpoint_optimizer in favor of loading in the optim state_dict only when `args.resume` is set * Remove: un-needed imports * Address review comments * Style
- Loading branch information