Skip to content

Commit

Permalink
Update pytorch_lightning/core/lightning.py
Browse files Browse the repository at this point in the history
Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com>
  • Loading branch information
tchaton and awaelchli authored Apr 20, 2021
1 parent 04e0cb2 commit 26ae30f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytorch_lightning/core/lightning.py
Original file line number Diff line number Diff line change
Expand Up @@ -1645,7 +1645,7 @@ class ``__init__`` to be ignored
"arg1": 1
"arg3": 3.14
"""
# the frame needs to be create in this file.
# the frame needs to be created in this file.
if not frame:
frame = inspect.currentframe().f_back
save_hyperparameters(self, *args, ignore=ignore, frame=frame)
Expand Down

0 comments on commit 26ae30f

Please sign in to comment.