--- description: Use Ultralytics YOLO Data Augmentation transforms with Base, MixUp, and Albumentations for object detection and classification. keywords: YOLO, data augmentation, transforms, BaseTransform, MixUp, RandomHSV, Albumentations, ToTensor, classify_transforms, classify_albumentations --- ## BaseTransform --- ### ::: ultralytics.yolo.data.augment.BaseTransform

## Compose --- ### ::: ultralytics.yolo.data.augment.Compose

## BaseMixTransform --- ### ::: ultralytics.yolo.data.augment.BaseMixTransform

## Mosaic --- ### ::: ultralytics.yolo.data.augment.Mosaic

## MixUp --- ### ::: ultralytics.yolo.data.augment.MixUp

## RandomPerspective --- ### ::: ultralytics.yolo.data.augment.RandomPerspective

## RandomHSV --- ### ::: ultralytics.yolo.data.augment.RandomHSV

## RandomFlip --- ### ::: ultralytics.yolo.data.augment.RandomFlip

## LetterBox --- ### ::: ultralytics.yolo.data.augment.LetterBox

## CopyPaste --- ### ::: ultralytics.yolo.data.augment.CopyPaste

## Albumentations --- ### ::: ultralytics.yolo.data.augment.Albumentations

## Format --- ### ::: ultralytics.yolo.data.augment.Format

## ClassifyLetterBox --- ### ::: ultralytics.yolo.data.augment.ClassifyLetterBox

## CenterCrop --- ### ::: ultralytics.yolo.data.augment.CenterCrop

## ToTensor --- ### ::: ultralytics.yolo.data.augment.ToTensor

## v8_transforms --- ### ::: ultralytics.yolo.data.augment.v8_transforms

## classify_transforms --- ### ::: ultralytics.yolo.data.augment.classify_transforms

## hsv2colorjitter --- ### ::: ultralytics.yolo.data.augment.hsv2colorjitter

## classify_albumentations --- ### ::: ultralytics.yolo.data.augment.classify_albumentations