code: def __init__(
      self, config, dataset_type, imdb_file_index, *args, **kwargs
  ):
      super().__init__(
          config,
          dataset_type,
          imdb_file_index,
          dataset_name="visual_genome",
          *args,
          **kwargs,
      )
  
      self._return_scene_graph = config.return_scene_graph
      self._return_objects = config.return_objects
      self._return_relationships = config.return_relationships
      self._no_unk = config.get("no_unk", False)
      self.scene_graph_db = None
  
      build_scene_graph_db = (
          self._return_scene_graph
          or self._return_objects
          or self._return_relationships
      )
  
      if build_scene_graph_db:
          scene_graph_file = config.scene_graph_files[dataset_type][
              imdb_file_index
          ]
          scene_graph_file = self._get_absolute_path(scene_graph_file)
          self.scene_graph_db = SceneGraphDatabase(
              config, scene_graph_file
          )
  
file_path: mmf/mmf/datasets/builders/visual_genome/dataset.py
imports: import copy
  import json
  import torch
  from mmf.common.sample import Sample, SampleList
  from mmf.datasets.builders.vqa2 import VQA2Dataset
  from mmf.datasets.databases.scene_graph_database import SceneGraphDatabase
label_desc: Use image node_id 1 to create a new VisualGenomeDataset object from inherited base classes: VQA2Dataset with example: obj = VisualGenomeDataset(config, dataset_type, imdb_file_index)