mirror of https://github.com/open-mmlab/mmcv.git
remove writer check
parent
a68d28c9f8
commit
8afb7c295c
|
@ -101,8 +101,7 @@ class PaviLoggerHook(LoggerHook):
|
|||
iteration=iteration)
|
||||
|
||||
# flush the buffer and send a task ending signal to Pavi
|
||||
if hasattr(self, 'writer'):
|
||||
self.writer.close()
|
||||
self.writer.close()
|
||||
|
||||
@master_only
|
||||
def before_epoch(self, runner):
|
||||
|
|
Loading…
Reference in New Issue