mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-10-29 13:30:57 +08:00
fix hparams issue
This commit is contained in:
1 parent
d40b4c8f80
commit
e7a0d98277
1 file changed
+1
-1
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user