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
Traceback (most recent call last):
File "hydra/_internal/config_load
er_impl.py", line 610, in _load_config_impl
merged = OmegaConf.merge(schema.config, ret.config)
File "omegaconf/omegaconf.py", li
ne 316, in merge
target.merge_with(*others[1:])
File "omegaconf/basecontainer.py"
, line 324, in merge_with
self._format_and_raise(key=None, value=None, cause=e)
File "omegaconf/base.py", line 10
1, in _format_and_raise
type_override=type_override,
File "omegaconf/_utils.py", line
675, in format_and_raise
_raise(ex, cause)
File "omegaconf/_utils.py", line
591, in _raise
raise ex # set end OC_CAUSE=1 for full backtrace
omegaconf.errors.ValidationError: Invalid value assigned : _GenericAlias is not a subclass of ListConfig or list.
full_key:
reference_type=Optional[Dict[Union[str, Enum], Any]]
object_type=dict
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "hydra/_internal/utils.py",
line 203, in run_and_report
return func()
File "hydra/_internal/utils.py",
line 355, in <lambda>
overrides=args.overrides,
File "hydra/_internal/hydra.py",
line 102, in run
run_mode=RunMode.RUN,
File "hydra/_internal/hydra.py",
line 512, in compose_config
from_shell=from_shell,
File "hydra/_internal/config_loader_impl.py", line 153, in load_configuration
from_shell=from_shell,
File "hydra/_internal/config_loader_impl.py", line 256, in _load_configuration
run_mode=run_mode,
File "hydra/_internal/config_loader_impl.py", line 797, in _merge_defaults_into_config
hydra_cfg = merge_defaults_list_into_config(hydra_cfg, user_list)
File "hydra/_internal/config_loader_impl.py", line 775, in merge_defaults_list_into_config
package_override=default1.package,
File "hydra/_internal/config_loader_impl.py", line 690, in _merge_config
package_override=package_override,
File "hydra/_internal/config_loader_impl.py", line 622, in _load_config_impl
) from e
hydra.errors.ConfigCompositionException: Error merging 'lr_scheduler/multi_step' with schema
This is my dataclass and yaml file:
Here's the yaml content of a file called
multi_step.yaml
This is the registation with
ConfigStore
:The registration leads to this runtime error
To reproduce in IPython
The text was updated successfully, but these errors were encountered: