(self, cfg_filename)
Load a yaml config file and merge it this CfgNode.
Load a yaml config file and merge it this CfgNode.
Load a yaml config file and merge it this CfgNode .
def merge_from_file(self, cfg_filename):
        """Load a yaml config file and merge it this CfgNode."""
        with open(cfg_filename, "r") as f:
            cfg = self.load_cfg(f)
        self.merge_from_other_cfg(cfg)
def merge_from_file ( self , cfg_filename ) : with open ( cfg_filename , "r" ) as f : cfg = self . load_cfg ( f ) self . merge_from_other_cfg ( cfg )