If I set up my hydra config.yaml file with a parameter param1: 12 and then override it through the command line e.g
python run.py param1==42
And run.py is :
@hydra.main(version_base=None, config_path=".", config_name='config.yaml')
def main(cfg) :
...
Is there a way to see which parameters were overridden this way ? For example something like cfg.overrides() -> dict ?
Thank you very much
This is available in the HydraConfig singleton. You can also inspect that object from the command line with the flag
--cfg hydra.