Reputation
Badges 1
9 × Eureka!Hi AgitatedDove14 ,
In OmegaConf.to_container
(or yaml) there is a resolve argument "if resolve is set to True, interpolations will be resolved during conversion". Currently in clearml you save the argument after resolving and I'm looking to save them explicitly so the user will not forget to change some dependencies.
Sounds good but the resolve config should be read only. Practically, in PatchHydra._register_omegaconf
you can use OmegaConf.to_yaml(config, resolve=PatchHydra._log_before_resolve)
without hydra key. WDYT?
I understand but a user who runs an experiment from the server may change one argument and not its dependency which may result in error in the good case or undesirable run in the worst case. Maybe you can add an argument to control it.
Maybe add a configurable argument that will control the resolving. What is the current process before saving the configuration? Do you directly save the omegadict or first parse it as dictionary? (and no problem I'll post)