Added print statements in config loading
Browse files- config_helper.py +2 -0
config_helper.py
CHANGED
|
@@ -77,6 +77,8 @@ def override(config: Config, overrides: Optional[list[str]] = None) -> Config:
|
|
| 77 |
|
| 78 |
# Convert Config object to a DictConfig object
|
| 79 |
config_dict = attrs.asdict(config)
|
|
|
|
|
|
|
| 80 |
config_omegaconf = DictConfig(content=config_dict, flags={"allow_objects": True})
|
| 81 |
# Enforce "--" separator between the script arguments and overriding configs.
|
| 82 |
if overrides:
|
|
|
|
| 77 |
|
| 78 |
# Convert Config object to a DictConfig object
|
| 79 |
config_dict = attrs.asdict(config)
|
| 80 |
+
print("config_dict:", config_dict.keys())
|
| 81 |
+
print("overrides:", overrides)
|
| 82 |
config_omegaconf = DictConfig(content=config_dict, flags={"allow_objects": True})
|
| 83 |
# Enforce "--" separator between the script arguments and overriding configs.
|
| 84 |
if overrides:
|