Replies: 1 comment 1 reply
|
👋 Hello @yucath, thank you for starting this thoughtful discussion 🚀 This is an automated response — an Ultralytics engineer will follow up shortly to assist further. We recommend a visit to the Docs for architecture and usage references where many Python and CLI examples may help frame your approach. If this is a 🐛 Bug Report related to unexpected behavior when mixing backbones/heads or during export/serving, please provide a minimum reproducible example to help us debug it. If this is a custom training ❓ Question or design discussion, please share: 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 knowledge with the community. UpgradeBefore proceeding, please upgrade to the latest pip install -U ultralyticsEnvironmentsYOLO can 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. To help us provide targeted guidance on your shared-backbone/different-heads setup with Triton, please include the details above along with any minimal configs or code snippets demonstrating how you’re wiring the backbone output to each head. This will help us quickly validate assumptions and suggest next steps 🔍 |
Uh oh!
There was an error while loading. Please reload this page.
Hi, I am trying to combine multiple yolo models (same type - for eg yolov8s-seg, yolov8s-obb, yolov8s). As the models share the common backbone (is that right?), I am trying to separate the backbone and heads of differtn models and tryign to use only one backbone and the different heads (from the full model which was trained separately - and only use head from those). The idea is to reuse the backbone and train wiht more generalised images that can be used across multiple tasks and head is only responsible for some specific classes from the outputs of those backbones. I am exporting backbone adn head separately as .plan files and using triton server to serve the model with a router which tells how to combine those together.
I am able to do that and get results, but the results do not make sense to me. I think there is something going on. My question is: is this strategy fundamentally wrong? and is there anything that needs to be done to allow for this?
Open to any suggestions or pointers that can help.
All reactions