code: def argsparser():
      parser = argparse.ArgumentParser(description=__doc__)
      parser.add_argument(
          "--config_path",
          type=str,
          default=None,
          help="path of the config include data config.",
      )
      parser.add_argument(
          "--act_config_path",
          type=str,
          default=None,
          help="path of the auto compression config.",
      )
      parser.add_argument(
          "--save_dir",
          type=str,
          default=None,
          help="directory to save compressed model.",
      )
      parser.add_argument(
          "--devices",
          type=str,
          default="gpu",
          help="which device used to compress.",
      )
      return parser
  
file_path: PaddleSeg/deploy/slim/act/run_seg.py
imports: import os
  import argparse
  import random
  import paddle
  import numpy
  from paddleseg.cvlibs import Config
  from paddleseg.cvlibs import SegBuilder
  from paddleseg.utils import worker_init_fn, metrics
  from paddleseg.core.infer import reverse_transform
  from paddleslim.auto_compression import AutoCompression
  from paddleslim.common import load_config
  from paddleslim.common.dataloader import get_feed_vars
label_desc: Use image node_id 1 for calling a global function with example usage: argsparser() and returns: parser