are the layers count valid for YOLOv11-seg models? #20876
-
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
👋 Hello @pranta-barua007, thank you for your interest in Ultralytics 🚀! We recommend a visit to the Docs for new users where you can find many Python and CLI usage examples and where many of the most common questions may already be answered. If this is a 🐛 Bug Report, please provide a minimum reproducible example to help us debug it. If you have a custom training ❓ Question, please provide as much detail as possible, such as dataset examples, training logs, and confirm you are following our Tips for Best Training Results. Join the Ultralytics community where it suits you best! For real-time chat, head to Discord 🎧. Prefer in-depth discussions? Check out Discourse. Or dive into threads on our Subreddit to share and learn from others. UpgradeUpgrade to the latest pip install -U ultralytics EnvironmentsYOLO may be run in any of the following up-to-date verified environments (with all dependencies including CUDA/CUDNN, Python and PyTorch preinstalled):
StatusIf this badge is green, all Ultralytics CI tests are currently passing. CI tests verify correct operation of all YOLO Modes and Tasks on macOS, Windows, and Ubuntu every 24 hours and on every commit. This is an automated response to help streamline support 😊. An Ultralytics engineer will review and assist you here soon! |
Beta Was this translation helpful? Give feedback.
Exactly right on both points!
Yes, setting
freeze=11
will freeze the entire backbone since your YAML shows exactly 11 backbone modules across all YOLO11-seg variants, leaving only the neck and head trainable.Correct - the
freeze
parameter uses module count, not layer count. This is why you can use the samefreeze=11
value across all model variants (n/s/m/l/x) despite them having different total layer counts (203/253/379). The module structure remains consistent, just scaled differently in width/depth.Your table is a great reference for understanding exactly which modules get frozen at different freeze values!