Skip to content

Commit

Permalink
update before_run
Browse files Browse the repository at this point in the history
  • Loading branch information
fcakyon committed May 20, 2021
1 parent 9354024 commit 8570175
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions mmcv/runner/hooks/logger/neptune.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ def import_neptune(self):

@master_only
def before_run(self, runner):
if self.neptune is None:
self.import_neptune()
if self.init_kwargs:
self.run = self.neptune.init(**self.init_kwargs)
else:
Expand Down

0 comments on commit 8570175

Please sign in to comment.