Skip to content

Commit

Permalink
sleepy boy
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda committed Oct 14, 2020
1 parent ecf1b48 commit 1fff9d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytorch_lightning/core/saving.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ def save_hparams_to_yaml(config_yaml, hparams: Union[dict, Namespace]) -> None:
except TypeError as err:
warn(f"Skipping '{k}' parameter because it is not possible to safely dump to YAML.")
else:
hparams[k] = v
hparams_allowed[k] = v

# saving the standard way
with fs.open(config_yaml, "w", newline="") as fp:
Expand Down

0 comments on commit 1fff9d4

Please sign in to comment.