# Disabling data augmentation YOLOV11

**URL:** <https://community.ultralytics.com/t/disabling-data-augmentation-yolov11/905>\
**Category:** YOLO\
**Tags:** question, support\
**Created:** [March 28, 2025, 4:22pm UTC](https://community.ultralytics.com/t/disabling-data-augmentation-yolov11/905 "2025-03-28T16:22:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Barthos\_Menbosa](https://sea1.discourse-cdn.com/flex001/user_avatar/community.ultralytics.com/barthos_menbosa/32/308_2.png) [@Barthos\_Menbosa](https://community.ultralytics.com/u/Barthos_Menbosa)\
**Post date:** [March 28, 2025, 4:22pm UTC](https://community.ultralytics.com/t/disabling-data-augmentation-yolov11/905/1 "2025-03-28T16:22:21Z")

</div>

I created a neural network for character detection on a large sheet of paper, but the characters are not very easy to recognize. However, the neural network was performing well, except for two characters: “S” and “2”, which become identical when mirrored. Therefore, to train the network, I would like to disable data augmentation, specifically the “mirror” and “flip” transformations.

---

<div class="post-metadata">

**Author:** ![pderrenger](https://sea1.discourse-cdn.com/flex001/user_avatar/community.ultralytics.com/pderrenger/32/73_2.png) [@pderrenger](https://community.ultralytics.com/u/pderrenger)\
**Post date:** [March 29, 2025, 1:26pm UTC](https://community.ultralytics.com/t/disabling-data-augmentation-yolov11/905/2 "2025-03-29T13:26:16Z")

</div>

Hello Barthos\_Menbosa,

Thanks for reaching out with your question. To disable specific data augmentations like horizontal (`fliplr`) and vertical (`flipud`) flips during training, you can set their corresponding probabilities to `0.0`.

Here’s how you can do it in Python:

```python
from ultralytics import YOLO11

# Load a model
model = YOLO11('yolov11n.pt') # Load a pretrained model or your custom model

# Train the model with specific augmentations disabled
results = model.train(data='your_dataset.yaml', epochs=100, imgsz=640, fliplr=0.0, flipud=0.0)

```

By setting `fliplr=0.0` and `flipud=0.0`, you prevent the model from applying these transformations during the training process.

You can find more details about all available augmentation settings and their default values in the [Model Training documentation](https://docs.ultralytics.com/modes/train/#augmentation-settings-and-hyperparameters) and the [Configuration guide](https://docs.ultralytics.com/usage/cfg/#augmentation-settings).

Let us know if you have any more questions!
