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(
          "--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(
          "--data_dir",
          type=str,
          default="./MS1M_v3_bin",
          help="train dataset directory",
      )
      parser.add_argument(
          "--val_targets",
          type=tostrlist,
          default=["lfw", "cfp_fp", "agedb_30"],
          help="val targets, list or str split by comma",
      )
      parser.add_argument(
          "--batch_size", type=int, default=128, help="test batch size"
      )
  
      args = parser.parse_args()
      return args
  
imports: import sys
  import os
  import logging
  import argparse
label_desc: Use image node_id 3 for calling a global function with example usage: parse_args() and returns: args