Unexpected Spike in train/kobj_loss at Epoch 90 While Training YOLOv8m Pose Estimation Model #16303
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 9 replies
-
👋 Hello @UranLajciSolaborate, thank you for reaching out and for using Ultralytics 🚀! Your curiosity about the spike in To assist further, if this is a 🐛 Bug Report, please provide a minimum reproducible example to help us analyze it. 🔍 If you're seeking advice on training dynamics, such as sudden loss spikes, consider these steps:
For real-time troubleshooting, join us on Discord 🎧 or explore detailed threads on our Discourse. UpgradeUpgrade to the latest pip install -U ultralytics EnvironmentsYOLOv8 can be run in any of the following up-to-date verified environments:
StatusIf this badge is green, all Ultralytics CI tests are currently passing. This is an automated response, but rest assured, an Ultralytics engineer will assist soon. Thank you for your patience! 😊 |
Beta Was this translation helpful? Give feedback.
-
@UranLajciSolaborate close mosaic kicks in 10 epochs before the end of training to help the model adapt to more real-world data it might encounter rather than the earlier training mosaics it is provided. This is causing the changes in loss you see. |
Beta Was this translation helpful? Give feedback.
You can try increasing the close mosaic value to 20 to see if it stabilizes the loss, or experiment with removing it to observe the effect on your model's performance.