VistaDream / pipe /cfgs /__init__.py
hpwang's picture
[Init]
fd5e0f7
raw
history blame contribute delete
172 Bytes
from omegaconf import OmegaConf
def load_cfg(cfg_path):
return OmegaConf.load(cfg_path)
def merge_cfgs(cfg1,cfg2):
cfg = OmegaConf.merge(cfg1,cfg2)
return cfg