src/config_handler.py
def prepare_config(path=None, override=None):
    """load and override config from local or remote locations .

    Args:
        path: config location
        override: key-value pairs to override config
    Returns:
        config object of type yacs.config.CfgNode
    """
    config = load_config(path)
    logger.info(f"config loading from {path} completed")
    if override:
        logger.info(f"overriding config params= {override}")
        override_config(override=override, config=config)
    return config
load and override config from local or remote locations .

    Args:
        path: config location
        override: key-value pairs to override config
    Returns:
        config object of type yacs.config.CfgNode
    
load and override config from local or remote locations .
load and override config from local or remote locations .
def prepare_config(path=None, override=None):
    config = load_config(path)
    logger.info(f"config loading from {path} completed")
    if override:
        logger.info(f"overriding config params= {override}")
        override_config(override=override, config=config)
    return config
def prepare_config ( path = None , override = None ) : config = load_config ( path ) logger . info ( f"config loading from {path} completed" ) if override : logger . info ( f"overriding config params= {override}" ) override_config ( override = override , config = config ) return config
load and override config from local or remote locations .
load and override config from local or remote locations .
"""load and override config from local or remote locations .

    Args:
        path: config location
        override: key-value pairs to override config
    Returns:
        config object of type yacs.config.CfgNode
    """
config object of type yacs.config.CfgNode
config object of type yacs . config . CfgNode
path
None
override
key-value pairs to override config
key - value pairs to override config