otx.core.utils.config#
Utility functions for config files.
Functions
|
Convert OTX format config object to MMEngine config object. |
|
Find and replace tuple or list values in dict to list recursively. |
|
Find and replace tuple or list values in dict to tuple recursively. |
- otx.core.utils.config.convert_conf_to_mmconfig_dict(cfg: DictConfig | dict, to: Literal['tuple', 'list'] = 'tuple') MMConfig [source]#
Convert OTX format config object to MMEngine config object.