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
If you set a value in setting.yaml, it cannot be overridden by command line options. This is different from the normal behavior of configargparse. This happens when used with array type
The text was updated successfully, but these errors were encountered:
MasanoriYamada
changed the title
[bug]The bool option on the command line using strtobool will be overwritten in yaml.
[bug]Cannot override yaml settings on the command line when using the bool option with strtobool.
Dec 10, 2021
Since bool is difficult to handle on argparse, there is a way to use the strtobool function.
check.py
It works intuitively.
Issue
If you set a value in setting.yaml, it cannot be overridden by command line options. This is different from the normal behavior of configargparse. This happens when used with array type
setting.yaml
The -f False option on the command line has been overwritten by setting.yaml
If you don't use the array option, it will work as expected.
setting.yaml
gist: https://gist.github.com/MasanoriYamada/a50dd8276b0f5cf56e32aa5932b93ae5
The text was updated successfully, but these errors were encountered: