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

Merge pull request #2078 from heavengate/fix_yolo_python3

fix yolo python3 compatible.
......@@ -68,7 +68,7 @@ def eval():
res = {
'image_id': im_id,
'category_id': label_ids[int(label)],
'bbox': map(float, bbox),
'bbox': list(map(float, bbox)),
'score': float(score)
}
result.append(res)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册