class_docstr: Dataset for Flickr Annotations
class_docstr_tok: ["Dataset","for","Flickr","Annotations"]
code: def __init__(
      self, config, splits_path, dataset_type: str, *args, **kwargs
  ):
      super().__init__()
      self.config = config
      self.dataset_type = dataset_type
      self.splits = self.SPLITS[self.dataset_type]
      self._load_annotation_db(splits_path)
  
file_path: mmf/mmf/datasets/builders/retrieval/datasets.py
imports: import json
  import pandas
  import torch
  from mmf.utils.file_io import PathManager
label_desc: Use image node_id 1 to create a new CaptionsDatabase object from inherited base classes: torch.utils.data with example: obj = CaptionsDatabase(config, splits_path, dataset_type)