code: def __getitem__(self, index):
      data = super().__getitem__(index)
      if data != None:
          del data["text_input"]
      return data
  
imports: import os
  import math
  from lavis.datasets.datasets.base_dataset import BaseDataset
  from lavis.datasets.datasets.caption_datasets import CaptionDataset
label_desc: Use image node_id 1 for calling the ClipCaptionEvalDataset obj's underlying member method code with example usage: obj.__getitem__(index) and returns: data