fix: correct loss name from box_loss to cls_loss in TVPDetectLoss#23046
Conversation
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
|
👋 Hello @ShuaiLYU, thank you for submitting a
For more guidance, please refer to our Contributing Guide. Don't hesitate to leave a comment if you have any questions. Thank you for contributing to Ultralytics! 🚀 |
UltralyticsAssistant
left a comment
There was a problem hiding this comment.
🔍 PR Review
Made with ❤️ by Ultralytics Actions
Clean, low-risk change: the local variable name and returned identifier are aligned with the loss component being returned (cls_loss), improving readability without altering behavior. No issues found in the shown diff.
box_loss to cls_loss in TVPDetectLoss
Issues attributed to commits in this pull requestThis pull request was merged and Sentry observed the following issues:
|
🛠️ PR Summary
Made with ❤️ by Ultralytics Actions
🌟 Summary
Fix a misnamed loss variable in
TVPDetectLossto correctly returncls_lossinstead ofbox_loss. 🛠️📊 Key Changes
box_losstocls_lossinTVPDetectLoss.__call__.🎯 Purpose & Impact