Skip to content
This repository has been archived by the owner on Jun 26, 2021. It is now read-only.

Commit

Permalink
PEP-8 Auto-Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Travis AutoPEP8 Fixes committed Jun 17, 2019
1 parent b6396a8 commit 9cd0c1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions delira/training/base_trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -776,8 +776,8 @@ def _search_for_prev_state(path, extensions=None):
for x in files])

latest_state_filename = [x for x in files
if x.startswith("checkpoint_epoch_%d"
% latest_epoch)][0]
if x.startswith("checkpoint_epoch_%d"
% latest_epoch)][0]
latest_state_path = os.path.join(path, latest_state_filename)
return latest_state_path, latest_epoch

Expand Down

0 comments on commit 9cd0c1c

Please sign in to comment.