code: def parse_args():
      parser = argparse.ArgumentParser(
          description="Paddle Face Exporter"
      )
  
      # Model setting
      parser.add_argument(
          "--is_static",
          type=str2bool,
          default="False",
          help="whether to use static mode",
      )
      parser.add_argument(
          "--export_type",
          type=str,
          default="paddle",
          help="export type, paddle or onnx",
      )
      parser.add_argument(
          "--backbone",
          type=str,
          default="FresResNet50",
          help="backbone network",
      )
      parser.add_argument(
          "--embedding_size",
          type=int,
          default=512,
          help="embedding size",
      )
      parser.add_argument(
          "--checkpoint_dir",
          type=str,
          default="MS1M_v3_arcface/FresResNet50/24/",
          help="checkpoint direcotry",
      )
      parser.add_argument(
          "--output_dir",
          type=str,
          default="MS1M_v3_arcface/FresResNet50/exported_model",
          help="export output direcotry",
      )
  
      args = parser.parse_args()
      return args
  
imports: import sys
  import os
  import argparse
label_desc: Use image node_id 2 for calling a global function with example usage: parse_args() and returns: args