未验证 提交 a88d2a2b 编写于 作者: B Bubbliiiing 提交者: GitHub

Update utils_map.py

上级 1ef46498
......@@ -795,7 +795,11 @@ def preprocess_gt(gt_path, class_names):
image['file_name'] = image_id + '.jpg'
image['width'] = 1
image['height'] = 1
image['id'] = i
#-----------------------------------------------------------------#
# 感谢 多学学英语吧 的提醒
# 解决了'Results do not correspond to current coco set'问题
#-----------------------------------------------------------------#
image['id'] = int(image_id)
for line in lines_list:
difficult = 0
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册