classy.utils.rich_config
Functions
get_rich_tree_config
def get_rich_tree_config(
cfg: omegaconf.dictconfig.DictConfig,
blames: Optional[List[Tuple[List[str], ConfigBlame]]] = None,
tree_label: str = '<root>',
)
cfg: omegaconf.dictconfig.DictConfig,
blames: Optional[List[Tuple[List[str], ConfigBlame]]] = None,
tree_label: str = '<root>',
)
print_config
def print_config(
cfg: omegaconf.dictconfig.DictConfig,
blames: Optional[List[Tuple[List[str], ConfigBlame]]] = None,
tree_label: str = '<root>',
)
cfg: omegaconf.dictconfig.DictConfig,
blames: Optional[List[Tuple[List[str], ConfigBlame]]] = None,
tree_label: str = '<root>',
)
Classes
ConfigPrinter
__init__
def __init__(
cfg: Union[dict, omegaconf.dictconfig.DictConfig],
fields_order: Iterable[str] = ('training', 'model', 'data', 'prediction', 'callbacks', 'logging'),
skip_remaining: bool = False,
additional_blames: Optional[List[Tuple[List[str], ForwardRef('ConfigBlame')]]] = None,
label: str = '<root>',
)
cfg: Union[dict, omegaconf.dictconfig.DictConfig],
fields_order: Iterable[str] = ('training', 'model', 'data', 'prediction', 'callbacks', 'logging'),
skip_remaining: bool = False,
additional_blames: Optional[List[Tuple[List[str], ForwardRef('ConfigBlame')]]] = None,
label: str = '<root>',
)