YOLO11 Normalization #18977
Replies: 2 comments 6 replies
-
👋 Hello @bastithebast, thank you for your interest in Ultralytics 🚀! We recommend a visit to the Docs for new users, where you'll find a wealth of resources including guides on preprocessing annotated data that may address parts of your question. If this is a ❓ question related to custom training, please provide further details if applicable, such as your dataset, code snippets, and specific preprocessing methods used so far. This context will help both us and the community better understand your query. If this is a 🐛 Bug Report or involves an issue in your workflow, please provide a minimum reproducible example (MRE) to assist us in debugging effectively. Related Points of Interest
Additional ResourcesJoin the Ultralytics community to connect with others:
Validated EnvironmentsEnsure your setup aligns with one of our validated environments:
👉 Rest assured, this is an automated response, but an Ultralytics engineer will review and address your question and concerns soon. Thank you for being an active member of the YOLO community! 🌟 |
Beta Was this translation helpful? Give feedback.
-
@bastithebast thanks for your question! YOLO11 uses fixed normalization values ([0.0, 0.0, 0.0] for mean and [255.0, 255.0, 255.0] for std) that scale pixel values to 0-1 range by default, rather than dataset-specific calculations. These conventions are consistent across our implementations to simplify training pipelines. You can find the normalization logic in the dataloaders at https://github.com/ultralytics/ultralytics/blob/main/ultralytics/data/dataloaders/v5augmentations.py. |
Beta Was this translation helpful? Give feedback.
-
Hi,
It is stated that for the image normalization predefined mean and standard deviation values are used (see: https://docs.ultralytics.com/guides/preprocessing_annotated_data/#normalizing-pixel-values).
How exactly are these values predefined? Is it just general values calculated from a lot of different datasets or is the training dataset analyzed before the actual training and the mean and std calculated for this specific dataset?
And where can I find this information? I already tried to find it in the YOLO11 paper, but without success. But maybe I missed it.
Thanks a lot for your help!
Beta Was this translation helpful? Give feedback.
All reactions