code: def _load_relationships(self, idx, object_map):
      if (
          self._return_relationships is None
          and self._return_scene_graph is None
      ):
          return None, None
  
      image_info = self._get_image_info(idx)
      relationship_map = {}
      relationships = []
  
      for relationship in image_info["relationships"]:
          relationship["synsets"] = self.synset_processor(
              {"tokens": relationship["synsets"]}
          )["text"]
          relationship["predicate"] = self.predicate_processor(
              {"tokens": relationship["predicate"]}
          )["text"]
          relationship["object"] = object_map[relationship["object_id"]]
          relationship["subject"] = object_map[
              relationship["subject_id"]
          ]
  
          relationship = Sample(relationship)
          relationship_map[
              relationship["relationship_id"]
          ] = relationship
          relationships.append(relationship)
  
      relationships = SampleList(relationships)
      return relationships, relationship_map
  
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 9 for calling the VisualGenomeDataset obj's underlying member method code with example usage: obj._load_relationships(idx, object_map) and returns: relationships,  relationship_map, None,  None