code: def parse_args():
      parser = argparse.ArgumentParser(
          description="Train parall face network"
      )
      # general
      parser.add_argument(
          "--dataset", default="emore", help="dataset config"
      )
      parser.add_argument(
          "--network", default="r100", help="network config"
      )
      parser.add_argument(
          "--loss", default="cosface", help="loss config"
      )
  
      args, rest = parser.parse_known_args()
      default.generate_config(args.loss, args.dataset, args.network)
      parser.add_argument(
          "--models-root",
          default="./test",
          help="root directory to save model.",
      )
      args = parser.parse_args()
      return args
  
imports: import argparse
  import logging
  import os
  import sys
  import time
  import horovod.mxnet
  import mxnet
  import default
  from callbacks import CallBackModelSave, CallBackLogging, CallBackCenterSave, CallBackVertification
  from default import config
  from image_iter import FaceImageIter, DummyIter
  from memory_module import SampleDistributeModule
  from memory_bank import MemoryBank
  from memory_scheduler import get_scheduler
  from memory_softmax import MarginLoss
  from optimizer import MemoryBankSGDOptimizer
  from symbol import resnet
label_desc: Use image node_id 1 for calling a global function with example usage: parse_args() and returns: args