code: def __init__(
      self, config, dataset_type, imdb_file_index, *args, **kwargs
  ):
      super().__init__(
          "mmimdb",
          config,
          dataset_type,
          imdb_file_index,
          *args,
          **kwargs,
      )
      assert (
          self._use_images
      ), "config's 'use_images' must be true to use image dataset"
  
file_path: mmf/mmf/datasets/builders/mmimdb/dataset.py
imports: import copy
  import json
  import torch
  from mmf.common.sample import Sample
  from mmf.datasets.mmf_dataset import MMFDataset
label_desc: Use image node_id 1 to create a new MMIMDbImageDataset object from inherited base classes: MMFDataset with example: obj = MMIMDbImageDataset(config, dataset_type, imdb_file_index)