def update_args(cfg_file=None): _C.defrost() if cfg_file and os.path.exists(cfg_file): _C.merge_from_file(cfg_file) else: print('cfg_file %s not found, using default settings.' % cfg_file) return copy.deepcopy(_C)
def test_cfg(self): cfg.merge_from_file( 'D:/Desktop/new_code/configs/train_mnist_softmax.yml') print(cfg) from IPython import embed embed()
def test_cfg(self): cfg.merge_from_file('configs/train_mnist_softmax.yml') from IPython import embed; embed()