未验证 提交 5e02a81a 编写于 作者: M moneypi 提交者: GitHub

remove one line redundant code (#6424)

上级 70d00f6f
...@@ -749,7 +749,6 @@ class TTFBox(object): ...@@ -749,7 +749,6 @@ class TTFBox(object):
# batch size is 1 # batch size is 1
scores_r = paddle.reshape(scores, [cat, -1]) scores_r = paddle.reshape(scores, [cat, -1])
topk_scores, topk_inds = paddle.topk(scores_r, k) topk_scores, topk_inds = paddle.topk(scores_r, k)
topk_scores, topk_inds = paddle.topk(scores_r, k)
topk_ys = topk_inds // width topk_ys = topk_inds // width
topk_xs = topk_inds % width topk_xs = topk_inds % width
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册