code: def arguments_stats(parser: argparse.ArgumentParser):
      group = parser.add_argument_group(
          title="Statistics", description="Statistics"
      )
      group.add_argument(
          "--stats.val",
          type=str,
          default=["loss"],
          nargs="+",
          help="Name of statistics",
      )
      group.add_argument(
          "--stats.train",
          type=str,
          default=["loss"],
          nargs="+",
          help="Name of statistics",
      )
      group.add_argument(
          "--stats.checkpoint-metric",
          type=str,
          default="loss",
          help="Metric to use for saving checkpoints",
      )
      group.add_argument(
          "--stats.checkpoint-metric-max",
          action="store_true",
          default=False,
          help="Maximize checkpoint metric",
      )
      group.add_argument(
          "--stats.coco-map.iou-types",
          type=str,
          default=["bbox"],
          nargs="+",
          choices=("bbox", "segm"),
          help="Types of IOU to compute for MSCoco.",
      )
  
      return parser
  
label_desc: Use image node_id 1 for calling a global function with example usage: arguments_stats(parser) and returns: parser