From 857017575dcda0a28357151ea8b6506f9f15c849 Mon Sep 17 00:00:00 2001 From: fckayon <34196005+fcakyon@users.noreply.github.com> Date: Thu, 20 May 2021 12:11:51 +0300 Subject: [PATCH] update before_run --- mmcv/runner/hooks/logger/neptune.py | 2 -- 1 file changed, 2 deletions(-) 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: