code: def parse_arguement(argv):
      parser = argparse.ArgumentParser()
  
      parser.add_argument(
          "--data_dir",
          type=str,
          default="insightface/datasets/faces_emore",
          help="Root directory to mxnet dataset.",
      )
      parser.add_argument(
          "--output_filepath",
          type=str,
          default="./ofrecord",
          help="Path to output OFRecord.",
      )
      parser.add_argument(
          "--num_part",
          type=int,
          default=96,
          help="num_part of OFRecord to generate.",
      )
      return parser.parse_args(argv)
  
file_path: insightface/recognition/arcface_oneflow/tools/mx_recordio_2_ofrecord_shuffled_npart.py
imports: import os
  import sys
  import struct
  import argparse
  import numbers
  import random
  from mxnet import recordio
  import oneflow.core.record.record_pb2
label_desc: Use image node_id 1 for calling a global function with example usage: parse_arguement(argv) and returns: parser