diff --git a/mmcv/runner/hooks/logger/neptune.py b/mmcv/runner/hooks/logger/neptune.py index c0a1ed7268..2e695863b1 100644 --- a/mmcv/runner/hooks/logger/neptune.py +++ b/mmcv/runner/hooks/logger/neptune.py @@ -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: