Update file logger.py
Browse files
logger.py
CHANGED
|
@@ -20,8 +20,11 @@ class Wandb:
|
|
| 20 |
|
| 21 |
|
| 22 |
def init(self):
|
| 23 |
-
|
| 24 |
-
|
|
|
|
|
|
|
|
|
|
| 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)
|