# RF-DETR augmentations

**URL:** <https://discuss.roboflow.com/t/rf-detr-augmentations/10996>\
**Category:** 🤝  Community Help\
**Created:** [August 22, 2025, 10:46am UTC](https://discuss.roboflow.com/t/rf-detr-augmentations/10996 "2025-08-22T10:46:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mila88](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/mila88/32/8134_2.png) [@mila88](https://discuss.roboflow.com/u/mila88)\
**Post date:** [August 22, 2025, 10:46am UTC](https://discuss.roboflow.com/t/rf-detr-augmentations/10996/1 "2025-08-22T10:46:17Z")

</div>

Hi! Does RF-DETR automatically apply data augmentation when we use it for a custom dataset? If so, where can I find this in the source code? ([https://github.com/roboflow/rf-detr](https://github.com/roboflow/rf-detr))? Thank you so much!

---

<div class="post-metadata">

**Author:** ![isaacrob](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/isaacrob/32/5638_2.png) [@isaacrob](https://discuss.roboflow.com/u/isaacrob)\
**Post date:** [August 22, 2025, 3:12pm UTC](https://discuss.roboflow.com/t/rf-detr-augmentations/10996/2 "2025-08-22T15:12:26Z")

</div>

RF-DETR automatically applies a random crop and a random horizontal flip. The specifics are [here](https://github.com/roboflow/rf-detr/blob/24ce179cb5d71d9049724c9f3bc25b506d9f42a4/rfdetr/datasets/coco.py#L160).

In addition, we randomly resize the image during training, allowing you to run with confidence at different resolutions at inference. People often refer to this as a multi scale augmentation.

---

<div class="post-metadata">

**Author:** ![mila88](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/mila88/32/8134_2.png) [@mila88](https://discuss.roboflow.com/u/mila88)\
**Post date:** [August 23, 2025, 9:13am UTC](https://discuss.roboflow.com/t/rf-detr-augmentations/10996/3 "2025-08-23T09:13:35Z")

</div>

> [@isaacrob](#):
>
> here

Amazing, thank you so much!!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex029/uploads/roboflow1/original/1X/bb6edbfa56d0cf2ee603f061e9e09103502cc8cc.png) [@system](https://discuss.roboflow.com/u/system)\
**Post date:** [September 13, 2025, 9:14am UTC](https://discuss.roboflow.com/t/rf-detr-augmentations/10996/4 "2025-09-13T09:14:08Z")

</div>

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.
