code: def __init__(
      self, config, dataset_type, imdb_file_index, *args, **kwargs
  ):
      if "name" in kwargs:
          name = kwargs["name"]
      elif "dataset_name" in kwargs:
          name = kwargs["dataset_name"]
      else:
          name = "vqa2"
      super().__init__(
          name, config, dataset_type, index=imdb_file_index
      )
  
      self._should_fast_read = self.config.get("fast_read", False)
      self.use_ocr = self.config.use_ocr
      self.use_ocr_info = self.config.use_ocr_info
  
file_path: mmf/mmf/datasets/builders/vqa2/dataset.py
imports: import logging
  import torch
  import tqdm
  from mmf.common.sample import Sample
  from mmf.datasets.mmf_dataset import MMFDataset
  from mmf.utils.distributed import is_main
label_desc: Use image node_id 1 to create a new VQA2Dataset object from inherited base classes: MMFDataset with example: obj = VQA2Dataset(config, dataset_type, imdb_file_index)