code: def merge_args(
      config, args, exclude_args=["config", "opt", "slim_config"]
  ):
      for k, v in vars(args).items():
          if k not in exclude_args:
              config[k] = v
      return config
  
file_path: PaddleDetection/ppdet/utils/cli.py
imports: from argparse import ArgumentParser, RawDescriptionHelpFormatter
  import yaml
  import re
  from ppdet.core.workspace import get_registered_modules, dump_value
label_desc: Use image node_id 1 for calling a global function with example usage: merge_args(config, args, exclude_args) and returns: config