code: def build(self, config, dataset_type):
      self._dataset_type = dataset_type
      self._config = config
      data_folder = os.path.join(get_mmf_root(), self._config.data_dir)
  
      # Since the imdb tar file contains all of the sets, we won't download them
      # except in case of train
      if self._dataset_type != "train":
          return
  
      self._download_and_extract_imdb(data_folder)
      self._download_and_extract_features(data_folder)
  
file_path: mmf/mmf/datasets/builders/visual_genome/builder.py
imports: import logging
  import os
  import shutil
  from mmf.common.constants import VISUAL_GENOME_CONSTS
  from mmf.common.registry import registry
  from mmf.datasets.builders.visual_genome.dataset import VisualGenomeDataset
  from mmf.datasets.builders.vqa2.builder import VQA2Builder
  from mmf.utils.download import decompress, download
  from mmf.utils.general import get_mmf_root
label_desc: Use image node_id 3 for calling the VisualGenomeBuilder obj's underlying member method code with example usage: obj.build(config, dataset_type) without return types