class_docstr: Base class for Image-Text multi-modal learning
  
  Args:
      opts: command-line arguments
class_docstr_tok: ["Base","class","for","Image-Text","multi-modal","learning","Args",":","opts",":","command-line","arguments"]
docstr: Helper function to get the dataset. Child classes must override this function
docstr_tok: ["Helper","function","to","get","the","dataset",".","Child","classes","must","override","this","function"]
code: def get_dataset(self, *args, **kwargs) -> Any:
      """Helper function to get the dataset. Child classes must override this function"""
      raise NotImplementedError
  
imports: import argparse
  import os
  from typing import Any, Dict, List, Mapping, Optional, Tuple, Union
  import torch
  from PIL import Image
  from torch import Tensor
  from data.collate_fns import COLLATE_FN_REGISTRY
  from data.datasets.dataset_base import BaseImageDataset
  from data.datasets.multi_modal_img_text.zero_shot import BaseZeroShotDataset, build_zero_shot_dataset
  from data.datasets.utils.text import caption_preprocessing
  from data.text_tokenizer import build_tokenizer
  from data.transforms import image_pil
  from data.transforms.common import Compose
  from utils import logger
  from utils.ddp_utils import is_master, is_start_rank_node
label_desc: Use image node_id 3 for calling the BaseMultiModalImgText obj's underlying member method code with example usage: obj.get_dataset() without return types