Skip to content

Commit

Permalink
Refactor amp runner
Browse files Browse the repository at this point in the history
  • Loading branch information
impiga committed Apr 13, 2021
1 parent d2ee4c8 commit 02baa30
Show file tree
Hide file tree
Showing 5 changed files with 61 additions and 974 deletions.
7 changes: 2 additions & 5 deletions mmcv_custom/runner/__init__.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
# Copyright (c) Open-MMLab. All rights reserved.
from .base_runner import BaseRunner
from .checkpoint import (_load_checkpoint, load_checkpoint, load_state_dict,
save_checkpoint, weights_to_cpu)
from .checkpoint import save_checkpoint
from .epoch_based_runner import EpochBasedRunnerAmp


__all__ = [
'BaseRunner', 'EpochBasedRunnerAmp', '_load_checkpoint', 'load_checkpoint',
'load_state_dict', 'save_checkpoint', 'weights_to_cpu'
'EpochBasedRunnerAmp', 'save_checkpoint'
]
Loading

0 comments on commit 02baa30

Please sign in to comment.