class_docstr: Base Dataset class for zero shot tasks.
  
  Args:
      opts: Command-line arguments.
class_docstr_tok: ["Base","Dataset","class","for","zero","shot","tasks",".","Args",":","opts",":","Command-line","arguments","."]
docstr: Return image path and text templates for a given image index.
  
  Args:
      img_index: Index of the image.
  
  Returns:
      Tuple containing image path, list of captions, and image label
docstr_tok: ["Return","image","path","and","text","templates","for","a","given","image","index",".","Args",":","img_index",":","Index","of","the","image",".","Returns",":","Tuple","containing","image","path",",","list","of","captions",",","and","image","label"]
code: def __getitem__(
      self, img_index: int
  ) -> Tuple[str, List[List[str]], int]:
      """Return image path and text templates for a given image index.
  
      Args:
          img_index: Index of the image.
  
      Returns:
          Tuple containing image path, list of captions, and image label
      """
      img_path, target = self.samples[img_index]
      return img_path, self.text_prompts, target
  
file_path: ml-cvnets/data/datasets/multi_modal_img_text/zero_shot/base_zero_shot.py
imports: import argparse
  from typing import List, Tuple
  from options.utils import extract_opts_with_prefix_replacement
  from utils import logger
label_desc: Use image node_id 4 for calling the BaseZeroShotDataset obj's underlying member method code with example usage: obj.__getitem__(img_index) and returns: img_path,  self,  target