From 1fff9d4b9df7891b77672a0db1a8b7b42aa47bba Mon Sep 17 00:00:00 2001 From: Jirka Borovec Date: Thu, 15 Oct 2020 01:45:37 +0200 Subject: [PATCH] sleepy boy --- pytorch_lightning/core/saving.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytorch_lightning/core/saving.py b/pytorch_lightning/core/saving.py index 873254a668307..2bc101dd81fc2 100644 --- a/pytorch_lightning/core/saving.py +++ b/pytorch_lightning/core/saving.py @@ -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: