code: def parse_args():
      parser = argparse.ArgumentParser(
          description="Offline evaluation of the "
          "prediction saved in pkl format"
      )
      parser.add_argument("config", help="Config of the model")
      parser.add_argument(
          "pkl_results",
          help="Path to the predictions in " "pickle format",
      )
      parser.add_argument(
          "--cfg-options",
          nargs="+",
          action=DictAction,
          help="Override some settings in the used config, the key-value pair "
          "in xxx=yyy format will be merged into config file. If the value to "
          'be overwritten is a list, it should be like key="[a,b]" or key=a,b '
          'It also allows nested list/tuple values, e.g. key="[(a,b),(c,d)]" '
          "Note that the quotation marks are necessary and that no white space "
          "is allowed.",
      )
      args = parser.parse_args()
      return args
  
imports: import argparse
  import json
  import mmengine
  from mmengine.config import Config, DictAction
  from mmengine.evaluator import Evaluator
  from mmengine.registry import init_default_scope
label_desc: Use image node_id 1 for calling a global function with example usage: parse_args() and returns: args