code: def get_args(self):
      parser = argparse.ArgumentParser("Build IMDB for VisDial")
      parser.add_argument(
          "-o",
          "--out_file",
          type=str,
          default="./imdb.npy",
          help="Output file for IMDB",
      )
      parser.add_argument(
          "-i",
          "--image_root",
          type=str,
          default="./COCO",
          help="Image directory for COCO",
      )
      parser.add_argument(
          "-v",
          "--version",
          type=float,
          default=0.9,
          help="Visdial version",
      )
      parser.add_argument(
          "-d",
          "--data_dir",
          type=str,
          default="./visdial",
          help="Directory which contains visdial jsons",
      )
      parser.add_argument(
          "-s",
          "--set_type",
          type=str,
          default="train",
          help="Dataset type train|val|test",
      )
  
      return parser.parse_args()
  
file_path: mmf/tools/scripts/visual_dialog/build_imdb.py
imports: import argparse
  import glob
  import json
  import os
  from mmf.utils.text import tokenize
label_desc: Use image node_id 2 for calling the IMDBBuilder obj's underlying member method code with example usage: obj.get_args() and returns: parser