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
should populate the yaml into cli.config with layers then overridden to 4. Instead, cli.config contains the defaults from econ_layers.layers.FlexibleSequential's class definition with layers overridden to 4. e.g. the output has hidden_dim: 128 instead of the expected hidden_dim: 122.
Current workaround: remove "default_config_files": ["defaults.yaml"], and change the arguments to:
From the pytorch-lightning slack: the following code under
jsonargparse==4.0.3
with
defaults.yaml
asshould populate the yaml into
cli.config
withlayers
then overridden to 4. Instead,cli.config
contains the defaults fromecon_layers.layers.FlexibleSequential
's class definition withlayers
overridden to 4. e.g. the output hashidden_dim: 128
instead of the expectedhidden_dim: 122
.Current workaround: remove
"default_config_files": ["defaults.yaml"],
and change the arguments to:Also see https://github.com/HighDimensionalEconLab/econ_layers/blob/main/tests/test_jsonargparse.py.
The text was updated successfully, but these errors were encountered: