You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When calling hparams=load_hyperpyyaml("a: 1e-6"), hparams["a"] is a string. This can be avoided by calling hparams=load_hyperpyyaml("a: 1.0e-6") instead.
This would not be much of an issue, but when using operations on references in the yaml such as
which results in hparams["c"]='1e-5' being a string, the user has no control. Hyperpyyaml resolves the references and the devision as 1e-5 and not 1.0e-5 which results in a string and not a float.
The text was updated successfully, but these errors were encountered:
When calling
hparams=load_hyperpyyaml("a: 1e-6")
,hparams["a"]
is a string. This can be avoided by callinghparams=load_hyperpyyaml("a: 1.0e-6")
instead.This would not be much of an issue, but when using operations on references in the yaml such as
which results in
hparams["c"]='1e-5'
being a string, the user has no control. Hyperpyyaml resolves the references and the devision as 1e-5 and not 1.0e-5 which results in a string and not a float.The text was updated successfully, but these errors were encountered: