Skip to content

Commit

Permalink
wandb logging fix
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonytec2 committed Jul 2, 2020
1 parent 1a40963 commit e2614bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pytorch_lightning/loggers/wandb.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ def watch(self, model: nn.Module, log: str = 'gradients', log_freq: int = 100):
@rank_zero_only
def log_hyperparams(self, params: Union[Dict[str, Any], Namespace]) -> None:
params = self._convert_params(params)
params = self._flatten_dict(params)
self.experiment.config.update(params, allow_val_change=True)

@rank_zero_only
Expand Down

0 comments on commit e2614bf

Please sign in to comment.