Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 21, 2022
1 parent 6512730 commit 5bf9e9e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/pytorch_lightning/utilities/migration.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@ def _migrate_model_checkpoint_early_stopping(checkpoint: _CHECKPOINT) -> _CHECKP


def _migrate_loop_global_step_to_progress_tracking(checkpoint: _CHECKPOINT) -> _CHECKPOINT:
"""Set the `global_step` value for checkpoints before v1.6 without the progress tracking state.
It will be overwritten by the loop's state if it was also saved.
"""Set the `global_step` value for checkpoints before v1.6 without the progress tracking state. It will be
overwritten by the loop's state if it was also saved.
Version: 1.6.0
Commit:
Expand All @@ -142,8 +142,8 @@ def _migrate_loop_global_step_to_progress_tracking(checkpoint: _CHECKPOINT) -> _


def _migrate_loop_current_epoch_to_progress_tracking(checkpoint: _CHECKPOINT) -> _CHECKPOINT:
"""Set the `current_epoch` value for checkpoints before v1.6 without the progress tracking state.
It will be overwritten by the loop's state if it was also saved.
"""Set the `current_epoch` value for checkpoints before v1.6 without the progress tracking state. It will be
overwritten by the loop's state if it was also saved.
Version: 1.6.0
Commit:
Expand Down

0 comments on commit 5bf9e9e

Please sign in to comment.