Skip to content

Commit

Permalink
tentatively made flush_secs 60
Browse files Browse the repository at this point in the history
  • Loading branch information
grace-omotoso authored and akainth015 committed Apr 8, 2021
1 parent 8ff7cae commit 513501b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vissl/trainer/train_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,12 @@ def initiate_vissl_event_storage(self):
create_event_storage()
self._event_storage = get_event_storage()

def build_event_storage_writers(self, config: AttrDict):
def build_event_storage_writers(self):
from vissl.utils.events import JsonWriter, TensorboardWriter

self.event_storage_writers = [
JsonWriter(f"{self.checkpoint_folder}/stdout.json"),
TensorboardWriter(config.log_dir, config.flush_secs),
TensorboardWriter("./checkpoints", 60),
]

@property
Expand Down

0 comments on commit 513501b

Please sign in to comment.