Skip to content

Commit

Permalink
added flush
Browse files Browse the repository at this point in the history
  • Loading branch information
williamFalcon committed Jul 26, 2019
1 parent 17c4e78 commit 52ff2bb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test_tube/log.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,7 @@ def __init__(

# set the tensorboardx log path to the /tf folder in the exp folder
logdir = self.get_tensorboardx_path(self.name, self.version)
if self.rank == 0:
super().__init__(log_dir=logdir, *args, **kwargs)
super().__init__(log_dir=logdir, *args, **kwargs)

# register on exit fx so we always close the writer
atexit.register(self.on_exit)
Expand Down

0 comments on commit 52ff2bb

Please sign in to comment.