Commit 4f3f3401 authored by Sam Tsai's avatar Sam Tsai Committed by Facebook GitHub Bot
Browse files

fix extended coco load missing comma

Summary: Fix missing comma for extended coco load, which would ignore bbox_mode and keypoints field.

Reviewed By: zhanghang1989

Differential Revision: D29608815

fbshipit-source-id: 8c737df1dfef7f88494f7de25e06b0c37742ac30
parent 236b15cd
...@@ -178,7 +178,7 @@ def convert_to_dict_list(image_root, id_map, imgs, anns, dataset_name=None): ...@@ -178,7 +178,7 @@ def convert_to_dict_list(image_root, id_map, imgs, anns, dataset_name=None):
for field in [ for field in [
"iscrowd", "iscrowd",
"bbox", "bbox",
"bbox_mode" "bbox_mode",
"keypoints", "keypoints",
"category_id", "category_id",
"extras", "extras",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment