未验证 提交 d7e549f5 编写于 作者: K Kaipeng Deng 提交者: GitHub

fix yolov3_loss gt_score check in dygraph. test=develop (#23634)

上级 629b6c78
......@@ -993,7 +993,7 @@ def yolov3_loss(x,
"GTBox": gt_box,
"GTLabel": gt_label,
}
if gt_score:
if gt_score is not None:
inputs["GTScore"] = gt_score
attrs = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册