已关闭
[Bug-Report|缺陷反馈]: BoundingBoxEncode 处理极端/失配坐标范围的边界框精度问题 #734
zhangyiyi创建于 11 天前关闭于 7 天前
11 天前 关联了pull request:fix(bounding_box_encode): fix precision tolerance mapping(extreme mismatched ranges) & add validations in geir path and inferdatatype
11 天前 关联了pull request:fix(bounding_box_encode): fix precision tolerance mapping(extreme mismatched ranges) & add validations in geir path and inferdatatype
11 天前 将 ugzhangyiyi 设为负责人
7 天前 关闭了 issue
7 天前 添加了label:resolved
Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.
Describe the current behavior / 问题描述 (Mandatory / 必填)
BoundingBoxEncodekernel 在处理极端或失配坐标范围的边界框(例如 anchor 坐标接近 FP32 最大值 ~3.4e38、ground-truth 坐标 ~0.01)时的精度问题。该场景下rw = gw / pw会下溢趋近于零,触发 NPU 硬件Ln指令返回-inf而非有限负数值。Environment / 环境信息 (Mandatory / 必填)
ascend950
Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)
anchor 坐标接近 FP32 最大值 ~3.4e38、ground-truth 坐标 ~0.01
Describe the expected behavior / 预期结果 (Mandatory / 必填)
与golden一致。
Related log / screenshot / 日志 / 截图 (Mandatory / 必填)
Special notes for this issue/备注 (Optional / 选填)