From e7a0d982771da54040a70062da4f6b428d1d86a1 Mon Sep 17 00:00:00 2001 From: William Falcon Date: Sun, 26 Apr 2020 17:34:33 -0400 Subject: [PATCH] fix hparams issue --- tests/trainer/test_trainer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/trainer/test_trainer.py b/tests/trainer/test_trainer.py index f783a2ef81..6876a69383 100644 --- a/tests/trainer/test_trainer.py +++ b/tests/trainer/test_trainer.py @@ -27,7 +27,7 @@ from tests.base import ( def test_hparams_save_load(tmpdir): - model = DictHparamsModel({'in_features': 28 * 28, 'out_features': 10}) + model = DictHparamsModel({'in_features': 28 * 28, 'out_features': 10, 'failed_key': lambda x: x}) # logger file to get meta trainer_options = dict(