Object Detection toolkit based on PaddlePaddle. It supports object detection, instance segmentation, multiple object tracking and real-time multi-person keypoint detection.
[X] 我确认已经提供了Bug复现步骤、代码改动说明、以及环境信息,确认问题是可以复现的。I confirm that the bug replication steps, code change instructions, and environment information have been provided, and the problem can be reproduced.
问题确认 Search before asking
Bug组件 Bug Component
Training
Bug描述 Describe the Bug
ppdet\modeling\heads\ppyoloe_head.py def _bbox_loss(self, pred_dist, pred_bboxes, anchor_points, assigned_labels,assigned_bboxes, assigned_scores, assigned_scores_sum): 函数中的代码loss_cls /= assigned_scores_sum 当assigned_scores_sum为0时候,得到loss_cls 的值为inf
复现环境 Environment
linux
Bug描述确认 Bug description confirmation
是否愿意提交PR? Are you willing to submit a PR?