Skip to content

Commit 3ad0152

Browse files
committed
wandb logging fix
1 parent e5a9799 commit 3ad0152

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pytorch_lightning/loggers/wandb.py

+1
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ def watch(self, model: nn.Module, log: str = 'gradients', log_freq: int = 100):
125125
@rank_zero_only
126126
def log_hyperparams(self, params: Union[Dict[str, Any], Namespace]) -> None:
127127
params = self._convert_params(params)
128+
params = self._flatten_dict(params)
128129
self.experiment.config.update(params, allow_val_change=True)
129130

130131
@rank_zero_only

0 commit comments

Comments
 (0)