What is hparams exactly? #5821
-
Hi, thanks for the nice product again. From #525 and #599, I could guess that What is |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
hparams is just a dict that contains your hyperparameters for easy logging and experiments. It is optional, but does make loading models more tedious. |
Beta Was this translation helpful? Give feedback.
-
It should be an |
Beta Was this translation helpful? Give feedback.
-
@s-rog Thanks, but it's not a dict :-) |
Beta Was this translation helpful? Give feedback.
-
oh yeah I keep forgetting, you're right! |
Beta Was this translation helpful? Give feedback.
-
Yes, there's a complete overhaul of the docs in progress. We'll make sure this gets in there. |
Beta Was this translation helpful? Give feedback.
-
thanks for the input! |
Beta Was this translation helpful? Give feedback.
It should be an
argparse.Namespace
. You can get this fromargparse
,testtube
'sHyperOptArgumentParser
, or create it manually from a dict like so:argparse.Namespace(**my_dict)
.