Skip to content
Discussion options

You must be logged in to vote

Yes—your intuition is usually right for SF on already-small 640×640 slices: mosaic=1.0 can make targets effectively too small after the mosaic + resize step, so I’d try a lower mosaic (e.g. 0.3–0.6) and keep close_mosaic enabled (e.g. 10–20) so the last epochs see “real” tiles; then pick whatever improves your SAHI-style validation metrics. See the docs on Mosaic augmentation and close_mosaic for how those knobs behave.

yolo detect train model=yolo26n.pt data=your.yaml imgsz=640 mosaic=0.5 close_mosaic=20

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@glenn-jocher
Comment options

@cosminlovin7
Comment options

@glenn-jocher
Comment options

Answer selected by cosminlovin7
@cosminlovin7
Comment options

@glenn-jocher
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
detect Object Detection issues, PR's advice needed Non-issue requests for advice, recommendations, and best practices
3 participants