xdecoder/Instruct-X-Decoder
163
1from fvcore.common.config import CfgNode as _CfgNode2 3class CfgNode(_CfgNode):4 """5 The same as `fvcore.common.config.CfgNode`, but different in:6 7 1. Use unsafe yaml loading by default.8 Note that this may lead to arbitrary code execution: you must not9 load a config file from untrusted sources before manually inspecting10 the content of the file.11 2. Support config versioning.12 When attempting to merge an old config, it will convert the old config automatically.13 14 .. automethod:: clone15 .. automethod:: freeze16 .. automethod:: defrost17 .. automethod:: is_frozen18 .. automethod:: load_yaml_with_base19 .. automethod:: merge_from_list20 .. automethod:: merge_from_other_cfg21 """22 23 def merge_from_dict(self, dict):24 pass25 26node = CfgNode()