Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda committed May 4, 2021
1 parent 0ee213a commit f959bee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pytorch_lightning/loggers/wandb.py
Expand Up @@ -137,9 +137,9 @@ def __init__(
)
self._wandb_init.update(**kwargs)
# extract parameters
self._save_dir = self._wandb_init.get('dir', None)
self._name = self._wandb_init.get('name', None)
self._id = self._wandb_init.get('id', None)
self._save_dir = self._wandb_init.get('dir')
self._name = self._wandb_init.get('name')
self._id = self._wandb_init.get('id')

def __getstate__(self):
state = self.__dict__.copy()
Expand Down

0 comments on commit f959bee

Please sign in to comment.