code: def __init__(self, dv):
      # automatically adjust dataset to balance all queries
      self.frames = dv.to_list()
  
file_path: clearml/examples/hyperdatasets/data-ingestion/pytorch_dataset_example_with_masks.py
imports: import numpy
  import torch.utils.data
  from allegroai import DataView, FrameGroup, Task
  from PIL import Image
  from torch.utils.data import DataLoader
label_desc: Use image node_id 1 to create a new ExampleDataset object from inherited base classes: torch.utils.data with example: obj = ExampleDataset(dv)