config_in_tensorboard

dict_to_tree(data: dict | DictConfig, tree: Tree = None, name: str = 'Config', **tree_kwargs) Tree[source]

Convert a nested dictionary to a Rich Tree.

log_config_text_to_tensorboard(cfg: DictConfig, trainer: Trainer) None[source]

Log the config tree to TensorBoard.

Parameters:
  • cfg – A DictConfig composed by Hydra.

  • trainer – The Lightning trainer.

tree_to_string(tree: Tree) str[source]

Convert a Rich Tree to a string.