dataeval.utils.data.unzip_dataset¶
- dataeval.utils.data.unzip_dataset(dataset, per_target)¶
Unzips a dataset into separate generators for images and targets.
This preserves performance by only loading each item from the dataset once.
- Parameters:¶
- Returns:¶
Two iterators, one for images and one for targets.
- Return type:¶
tuple[Iterator[NDArray[Any]], Iterator[list[BoundingBox] | None] | None]