Skip to content

Commit

Permalink
Fix copy source file path (#796)
Browse files Browse the repository at this point in the history
  • Loading branch information
innerlee committed Jan 20, 2021
1 parent 2ab544f commit 00658e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mmcv/runner/iter_based_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ def save_checkpoint(self,
if platform.system() != 'Windows':
mmcv.symlink(filename, dst_file)
else:
shutil.copy(filename, dst_file)
shutil.copy(filepath, dst_file)

def register_training_hooks(self,
lr_config,
Expand Down

0 comments on commit 00658e8

Please sign in to comment.