Yolo11 backbone

Can I change resnet50 backbone instead of csp darknet with yolo11 integrate with default neck and head.i have to change backbone only without config.yaml file creation

You need to create a custom YAML.

ResNet50 example is here: Replacing the YOLO 11 backbone with ResNet 50 - #2 by Toxite

Thanks for previous response

My idea is Instead of creating yaml file for every backbone,can I use default yolo11-obb.yaml.after loading yaml so I can plug and play any CNN and VIT(convolute 2 layer more) backbone integrate with neck(fpn+pan) and head.

Ultralytics requires the YAML for model architecture. So you can’t modify it without updating YAML and without causing a lot of issues.

You can check this for defining custom module directly in YAML:

1 Like