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 8fae0c3 commit 914bd9c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test_tube/log.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ def get_meta_copy(self):
return DDPExperiment(self)

def on_exit(self):
self.__clean_dir()
if self.rank == 0:
self.close()

Expand Down

0 comments on commit 914bd9c

Please sign in to comment.