class_docstr: Dataset for conceptual caption database
class_docstr_tok: ["Dataset","for","conceptual","caption","database"]
code: def _load_annotation_db(self, splits_path):
      df = pd.read_csv(
          splits_path,
          compression="gzip",
          sep="\t",
          names=["caption", "file"],
      )
  
      self.data = df
  
      self.samples_factor = 1
  
      if len(self.data) == 0:
          raise RuntimeError("Dataset is empty")
  
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 for calling the ConceptualCaptionsDatabase obj's underlying member method code with example usage: obj._load_annotation_db(splits_path) without return types