code: def parse_args():
      parser = argparse.ArgumentParser(
          description="prepare something-something-v2 dataset"
      )
      parser.add_argument(
          "--video_root",
          type=str,
          default="~/.mxnet/datasets/somethingsomethingv2/20bn-something-something-v2",
      )
      parser.add_argument(
          "--frame_root",
          type=str,
          default="~/.mxnet/datasets/somethingsomethingv2/20bn-something-something-v2-frames",
      )
      parser.add_argument(
          "--anno_root",
          type=str,
          default="~/.mxnet/datasets/somethingsomethingv2/annotations",
      )
      parser.add_argument("--num_threads", type=int, default=100)
      parser.add_argument(
          "--decode_video", action="store_true", default=True
      )
      parser.add_argument(
          "--build_file_list", action="store_true", default=True
      )
      args = parser.parse_args()
  
      args.video_root = os.path.expanduser(args.video_root)
      args.frame_root = os.path.expanduser(args.frame_root)
      args.anno_root = os.path.expanduser(args.anno_root)
      return args
  
file_path: gluon-cv/scripts/datasets/somethingsomethingv2.py
imports: import os
  import sys
  import threading
  import argparse
  import json
label_desc: Use image node_id 1 for calling a global function with example usage: parse_args() and returns: args