code: def parse_args():
      detection_parser = detection.get_args_parser()
      parser = argparse.ArgumentParser(
          "Submitit for detection", parents=[detection_parser]
      )
      parser.add_argument(
          "--ngpus",
          default=8,
          type=int,
          help="Number of gpus to request on each node",
      )
      parser.add_argument(
          "--nodes",
          default=4,
          type=int,
          help="Number of nodes to request",
      )
      parser.add_argument(
          "--timeout", default=60, type=int, help="Duration of the job"
      )
      parser.add_argument(
          "--job_dir",
          default="",
          type=str,
          help="Job dir. Leave empty for automatic.",
      )
      return parser.parse_args()
  
file_path: detr/run_with_submitit.py
imports: import argparse
  import os
  import uuid
  from pathlib import Path
  import main
  import submitit
label_desc: Use image node_id 1 for calling a global function with example usage: parse_args() and returns: parser