---
description: Explore detailed documentation on Ultralytics data loaders including SourceTypes, LoadStreams, and more. Enhance your ML workflows with our comprehensive guides.
keywords: Ultralytics, data loaders, SourceTypes, LoadStreams, LoadScreenshots, LoadImagesAndVideos, LoadPilAndNumpy, LoadTensor, ML workflows
---

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

!!! success "Improvements"

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

<br>

## ::: ultralytics.data.loaders.SourceTypes

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

## ::: ultralytics.data.loaders.LoadStreams

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

## ::: ultralytics.data.loaders.LoadScreenshots

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

## ::: ultralytics.data.loaders.LoadImagesAndVideos

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

## ::: ultralytics.data.loaders.LoadPilAndNumpy

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

## ::: ultralytics.data.loaders.LoadTensor

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

## ::: ultralytics.data.loaders.autocast_list

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

## ::: ultralytics.data.loaders.get_best_youtube_url

<br><br>
