From 2ac236ebfe260e4812c6a1d73b2cf13581b5f40c Mon Sep 17 00:00:00 2001 From: Peter Yu <2057325+yukw777@users.noreply.github.com> Date: Tue, 3 Mar 2020 11:09:58 -0500 Subject: [PATCH] [Docs] hparams is not a dictionary for now (#1026) Co-authored-by: peterAsapp <31011756+peterAsapp@users.noreply.github.com> --- pytorch_lightning/core/lightning.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytorch_lightning/core/lightning.py b/pytorch_lightning/core/lightning.py index 1c1373a0..97a10319 100644 --- a/pytorch_lightning/core/lightning.py +++ b/pytorch_lightning/core/lightning.py @@ -1114,7 +1114,7 @@ class LightningModule(ABC, GradInformation, ModelIO, ModelHooks): Primary way of loading model from a checkpoint. When Lightning saves a checkpoint it stores the hyperparameters in the checkpoint if you initialized your LightningModule with an argument called `hparams` which is a Namespace (output of using argparse - to parse command line arguments) or dictionary of hyperparameters. + to parse command line arguments). Example -------