Hydra is an open-source Python framework that simplifies the development of research and other complex applications. The key feature is the ability to dynamically create a hierarchical configuration by composition and override it through config files and the command line.
wandb.projectare defined within a hydra configuration file.
OmegaConf's dictionary are not a subclass of primitive dictionaries so directly passing Hydra's
wandb.configleads to unexpected results on the dashboard. It's necessary to convert
omegaconf.DictConfigto the primitive
dicttype before passing to
sweep.yamlfile would be:
wandb sweep sweep.yamlOnce you call this, W&B automatically creates a sweep inside your project and returns a
wandb agentcommand for you to run on each machine you want to run your sweep.
+before command. For example, you can pass an extra parameter with some value by simply calling:
+configurations similar to what one does while configuring Hydra Experiments. To work around this, you can initialize the experiment parameter with a default empty file and use W&B Sweep to override those empty configs on each call. For more information, read this W&B Report.