Skip to content

Commit 530252c

Browse files
committed
pep8
1 parent 069bdf9 commit 530252c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytorch_lightning/core/lightning.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1548,7 +1548,7 @@ def _load_model_state(cls, checkpoint: Dict[str, Any], *args, **kwargs) -> 'Ligh
15481548
)
15491549

15501550
# load the state_dict on the model automatically
1551-
model_args = {'hparams' : hparams} if hparams else {}
1551+
model_args = {'hparams': hparams} if hparams else {}
15521552
model = cls(**model_args)
15531553
model.load_state_dict(checkpoint['state_dict'])
15541554

0 commit comments

Comments
 (0)