You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

86 lines
1.8 KiB

---
description: Detailed exploration into Ultralytics data augmentation methods including BaseTransform, MixUp, LetterBox, ToTensor, and more for enhancing model performance.
keywords: Ultralytics, Data Augmentation, BaseTransform, MixUp, RandomHSV, LetterBox, Albumentations, classify_transforms, classify_albumentations
---
# Reference for `ultralytics/data/augment.py`
!!! note
Full source code for this file is available at [https://github.com/ultralytics/ultralytics/blob/main/ultralytics/data/augment.py](https://github.com/ultralytics/ultralytics/blob/main/ultralytics/data/augment.py). Help us fix any issues you see by submitting a [Pull Request](https://docs.ultralytics.com/help/contributing/) 🛠. Thank you 🙏!
---
## ::: ultralytics.data.augment.BaseTransform
<br><br>
---
## ::: ultralytics.data.augment.Compose
<br><br>
---
## ::: ultralytics.data.augment.BaseMixTransform
<br><br>
---
## ::: ultralytics.data.augment.Mosaic
<br><br>
---
## ::: ultralytics.data.augment.MixUp
<br><br>
---
## ::: ultralytics.data.augment.RandomPerspective
<br><br>
---
## ::: ultralytics.data.augment.RandomHSV
<br><br>
---
## ::: ultralytics.data.augment.RandomFlip
<br><br>
---
## ::: ultralytics.data.augment.LetterBox
<br><br>
---
## ::: ultralytics.data.augment.CopyPaste
<br><br>
---
## ::: ultralytics.data.augment.Albumentations
<br><br>
---
## ::: ultralytics.data.augment.Format
<br><br>
---
## ::: ultralytics.data.augment.ClassifyLetterBox
<br><br>
---
## ::: ultralytics.data.augment.CenterCrop
<br><br>
---
## ::: ultralytics.data.augment.ToTensor
<br><br>
---
## ::: ultralytics.data.augment.v8_transforms
<br><br>
---
## ::: ultralytics.data.augment.classify_transforms
<br><br>
---
## ::: ultralytics.data.augment.hsv2colorjitter
<br><br>
---
## ::: ultralytics.data.augment.classify_albumentations
<br><br>