mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-09-09 11:32:07 +08:00
[Docs] hparams is not a dictionary for now (#1026)
Co-authored-by: peterAsapp <31011756+peterAsapp@users.noreply.github.com>
This commit is contained in:
@@ -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
|
||||
-------
|
||||
|
||||
Reference in New Issue
Block a user