class_docstr: Dataset for Annotations used in MMF
  
  TODO: Update on docs sprint
code: def load_annotation_db(self, path):
      if path.find("visdial") != -1 or path.find("visual_dialog") != -1:
          self._load_visual_dialog(path)
      elif path.endswith(".npy"):
          self._load_npy(path)
      elif path.endswith(".jsonl"):
          self._load_jsonl(path)
      elif path.endswith(".json"):
          self._load_json(path)
      else:
          raise ValueError("Unknown file format for annotation db")
  
file_path: mmf/mmf/datasets/databases/annotation_database.py
imports: import json
  import numpy
  import torch
  from mmf.utils.file_io import PathManager
  from mmf.utils.general import get_absolute_path
label_desc: Use image node_id 2 for calling the AnnotationDatabase obj's underlying member method code with example usage: obj.load_annotation_db(path) without return types