Skip to content

Commit

Permalink
forward arguments for naming #117
Browse files Browse the repository at this point in the history
  • Loading branch information
Bart committed Jul 3, 2023
1 parent f95716a commit d5b1cf8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bird_cloud_gnn/callback.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
class TensorboardCallback:
"""Callback to populate Tensorboard"""

def __init__(self):
self.writer = SummaryWriter()
def __init__(self, **kwargs):
self.writer = SummaryWriter(**kwargs)

def __call__(self, epoch_values):
epoch = epoch_values["epoch"]
Expand Down

0 comments on commit d5b1cf8

Please sign in to comment.