提交 f6b8790f 编写于 作者: D dengkaipeng

fix yolo python3 compatible.

上级 0e45394c
......@@ -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.
先完成此消息的编辑!
想要评论请 注册