code: def parse_args():
      parser = argparse.ArgumentParser(description="Test")
      parser.add_argument(
          "--config",
          help="The path of config file.",
          type=str,
      )
      parser.add_argument(
          "--opt",
          help="Use --opt op.seg.local_service_conf.devices=xx to set devices.",
          type=str,
      )
      parser.add_argument(
          "--input_name",
          help="The output name of inference model.",
          type=str,
          default="x",
      )
      parser.add_argument(
          "--output_name",
          help="The output name of inference model.",
          type=str,
          default="argmax_0.tmp_0",
      )
      return parser.parse_args()
  
imports: import io
  import os
  import sys
  import base64
  import argparse
  import yaml
  import numpy
  from PIL import Image
  from paddle_serving_server.web_service import WebService, Op
  from preprocess_ops import ResizeImage, CenterCropImage, NormalizeImage, ToCHW, Compose
label_desc: Use image node_id 1 for calling a global function with example usage: parse_args() and returns: parser