code: def __init__(self, data_map, deterministic=False, shuffle=True):
      self.data_map = data_map
      self.deterministic = deterministic
      self.enable_shuffle = shuffle
      self.n = next(iter(data_map.values())).shape[0]
      self._next_id = 0
      self.shuffle()
  
file_path: baselines/baselines/common/dataset.py
imports: import numpy
label_desc: Use image node_id 1 to create a new Dataset object from inherited base classes: object with example: obj = Dataset(data_map, deterministic, shuffle)