Skip to content

are the layers count valid for YOLOv11-seg models? #20876

Discussion options

You must be logged in to vote

Exactly right on both points!

  1. 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.

  2. Correct - the freeze parameter uses module count, not layer count. This is why you can use the same freeze=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!

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@pranta-barua007
Comment options

@glenn-jocher
Comment options

@pranta-barua007
Comment options

@glenn-jocher
Comment options

Answer selected by pranta-barua007
@pranta-barua007
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested segment Instance Segmentation issues, PR's
3 participants