Guidance on Replacing YOLOv8 Backbone with MobileNetV3 (Using Google Colab) #21130
Replies: 2 comments 4 replies
-
👋 Hello @eternalsummer01, 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 this is a custom training ❓ Question, please provide as much information as possible, including dataset image examples and training logs, and verify 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 knowledge with the community. 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. An Ultralytics engineer will review your request and assist you soon! 😊 |
Beta Was this translation helpful? Give feedback.
-
You can find MobileNet configs here: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I'm planning to modify the YOLOv8 architecture to use MobileNetV3 as the backbone instead of the default one. I searched through previous issues and discussions but couldn't find much detailed information about this specific change.
So far, I understand that I’ll need to modify the .yaml configuration file in the repo to define the new backbone. I’ll be working on this in a Google Colab environment.
Could someone please clarify:
What are the exact steps to properly replace the backbone?
Do I need to write a custom MobileNetV3 module in PyTorch, or is there an existing one compatible with YOLOv8’s structure?
Are there any additional changes needed in the training or model loading scripts?
Is there any official or community guide/tutorial available on this?
Beta Was this translation helpful? Give feedback.
All reactions