code: def get_args():
      parser = argparse.ArgumentParser(description="Auto-SCRFD")
      # config files
      parser.add_argument(
          "--group",
          type=str,
          default="configs/scrfdgen2.5g",
          help="configs work dir",
      )
      parser.add_argument(
          "--template",
          type=int,
          default=0,
          help="template config index",
      )
      parser.add_argument(
          "--gflops", type=float, default=2.5, help="expected flops"
      )
      parser.add_argument(
          "--mode",
          type=int,
          default=1,
          help="generation mode, 1 for searching backbone, 2 for search all",
      )
      # target flops
      parser.add_argument(
          "--eps",
          type=float,
          default=2e-2,
          help="eps for expected flops",
      )
      # num configs
      parser.add_argument(
          "--num-configs",
          type=int,
          default=64,
          help="num of expected configs",
      )
      parser = parser
  
      args = parser.parse_args()
      return args
  
imports: import os
  import os.path
  import io
  import numpy
  import argparse
  import datetime
  import importlib
  import configparser
  from tqdm import tqdm
  from mmdet.models import build_detector
  import torch
  import autotorch
  from mmcv import Config
  from mmdet.models import build_detector
label_desc: Use image node_id 1 for calling a global function with example usage: get_args() and returns: args