---
title: data.dataset API Reference
description: Explore the YOLODataset and its subclasses for object detection, segmentation, and multi-modal tasks. Find details on dataset loading, caching, and augmentation.
keywords: Ultralytics, YOLODataset, object detection, segmentation, dataset loading, caching, data augmentation
---

# Reference for `ultralytics/data/dataset.py`

!!! success "Improvements"

    This page is sourced from [https://github.com/ultralytics/ultralytics/blob/main/ultralytics/data/dataset.py](https://github.com/ultralytics/ultralytics/blob/main/ultralytics/data/dataset.py). Have an improvement or example to add? Open a [Pull Request](https://docs.ultralytics.com/help/contributing) — thank you! 🙏

<br>

## ::: ultralytics.data.dataset.YOLODataset

<br><br><hr><br>

## ::: ultralytics.data.dataset.DepthDataset

<br><br><hr><br>

## ::: ultralytics.data.dataset.YOLOMultiModalDataset

<br><br><hr><br>

## ::: ultralytics.data.dataset.GroundingDataset

<br><br><hr><br>

## ::: ultralytics.data.dataset.YOLOConcatDataset

<br><br><hr><br>

## ::: ultralytics.data.dataset.SemanticDataset

<br><br><hr><br>

## ::: ultralytics.data.dataset.PolygonSemanticDataset

<br><br><hr><br>

## ::: ultralytics.data.dataset.ClassificationDataset

<br><br>
