New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multi-scale of yolov8-obb #11742
Comments
👋 Hello @csh313, thank you for your interest in Ultralytics YOLOv8 🚀! 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 vibrant Ultralytics Discord 🎧 community for real-time conversations and collaborations. This platform offers a perfect space to inquire, showcase your work, and connect with fellow Ultralytics users. InstallPip install the pip install ultralytics EnvironmentsYOLOv8 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 YOLOv8 Modes and Tasks on macOS, Windows, and Ubuntu every 24 hours and on every commit. |
Hey there! 🙌 Multi-scale training can indeed help improve mAP by making your model more robust to various object sizes, especially in a diverse dataset like DOTAv1. Here's how you can adjust your training settings to include multi-scale: yolo train data=coco128.yaml model=yolov8n-obb.yaml imgsz=640 multi_scale=True msev=[0.5, 1.0, 1.5] msevp=500 This setup enables multi-scale training with scales ranging from 0.5x to 1.5x, evaluated every 500 batches. Give this configuration a try, and you might see an enhancement in your model's performance. Let us know how it goes! 😊 |
But I divided them after splitting the TRAIN dataset into about 100000 sheets, the training time is too long, the training reached 76% in 2 days, is it ok to train this way, is it the same as the official training with yolov8n-obb.pt weights? |
Hey! 👋 For large datasets like yours, it's quite normal for training to take a significant amount of time, especially with multi-scale settings which can add to the computational workload. However, training directly on such a large dataset with additional augmentations will help your model generalize better, even if it's slower. If training time is a concern, here are a few suggestions:
Training like this isn't quite the same as using pre-trained Happy training, and let me know how it progresses! 🚀 |
I use split_trainval with gap=200, rates=[1.0] from the source code for dota segmentation and then train without using pre-training weights to reach more than 70% after 100 epoch, can this be called multiscale training, and can the training results be taken as a way of augmenting the data using the unsegmented dataset? |
Hello! 👋 It sounds like you're making great strides with your training! Using Your approach is valid and beneficial, but if you want to incorporate multi-scale training, consider varying the Keep up the great work! 🚀 |
I tried to use your ‘yolo train data=coco128.yaml model=yolov8n-obb.yaml imgsz=640 multi_scale=True msev=[0.5, 1.0, 1.5] msevp=500’ but got an error: ‘’msev' is not a msev‘ is not a valid YOLO argument. “msevp” is not a valid YOLO argument’. How to set up multi-scale training? |
Hello! 👋 It looks like there was a typo in the earlier message. To enable multi-scale training in YOLOv8, use the yolo train data=coco128.yaml model=yolov8n-obb.yaml imgsz=640 multi_scale=True Just set |
Search before asking
Question
Hi, I am learning yolov8obb project with DOTAv1 dataset, but the experiments run are not good, the map50 is only about 50%, using default.yaml and provided DOTAv1, how can I boost the map, do I need to use multi-scale? I checked on issues that multi-scale segmentation may be needed, do I need rates=[0.5, 1.0, 1.5], gap=500 to get the data and then train it?
Additional
No response
The text was updated successfully, but these errors were encountered: