File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ class WandbLogger(ILogger):
25
25
(default: SETTINGS.log_batch_metrics or False).
26
26
log_epoch_metrics: boolean flag to log epoch metrics
27
27
(default: SETTINGS.log_epoch_metrics or True).
28
+ kwargs: Optional, additional keyword arguments to be passed directly to the wandb.init
28
29
29
30
Python API examples:
30
31
@@ -85,13 +86,18 @@ def __init__(
85
86
entity : Optional [str ] = None ,
86
87
log_batch_metrics : bool = SETTINGS .log_batch_metrics ,
87
88
log_epoch_metrics : bool = SETTINGS .log_epoch_metrics ,
89
+ ** kwargs ,
88
90
) -> None :
89
91
super ().__init__ (log_batch_metrics = log_batch_metrics , log_epoch_metrics = log_epoch_metrics )
90
92
self .project = project
91
93
self .name = name
92
94
self .entity = entity
93
95
self .run = wandb .init (
94
- project = self .project , name = self .name , entity = self .entity , allow_val_change = True
96
+ project = self .project ,
97
+ name = self .name ,
98
+ entity = self .entity ,
99
+ allow_val_change = True ,
100
+ ** kwargs ,
95
101
)
96
102
97
103
@property
You can’t perform that action at this time.
0 commit comments