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
However the value gets set to True when arriving at the learner. Is this a know bug?
I could work around this by passing an int (and modifying the argument's type accordingly).
The text was updated successfully, but these errors were encountered:
"help": "Enables the early stopping of the optimization. Default: "
f"{defaults.EARLY_STOPPING}.",
"argument_group": OPTIONAL_ARGS_GROUP,
"true_type": bool,
},
The important part here is that type is str even though you are using a bool and the true_type is bool. That way, your boolean will be converted to a string, passed as a command line argument and converted back to a boolean. Right now, it is probably always True since every non-empty string is True.
I tried to pass a boolean via the config file, i.e.,
However the value gets set to
True
when arriving at the learner. Is this a know bug?I could work around this by passing an
int
(and modifying the argument's type accordingly).The text was updated successfully, but these errors were encountered: