flpelerin commited on
Commit
a565dbc
·
1 Parent(s): 0f06672

Update file logger.py

Browse files
Files changed (1) hide show
  1. logger.py +5 -2
logger.py CHANGED
@@ -20,8 +20,11 @@ class Wandb:
20
 
21
 
22
  def init(self):
23
-
24
- wandb.init(self.project, self.entity, self.name, reinit=True, config={})
 
 
 
25
 
26
  def __call__(self, args):
27
  wandb.log(args)
 
20
 
21
 
22
  def init(self):
23
+ wandb.init(config={
24
+ 'project': self.project,
25
+ 'entity': self.entity,
26
+ 'name': self.name
27
+ }, reinit=True)
28
 
29
  def __call__(self, args):
30
  wandb.log(args)