Skip to content

Commit

Permalink
Fix bug in creating img_nl in eval
Browse files Browse the repository at this point in the history
  • Loading branch information
agrimgupta92 committed Aug 12, 2019
1 parent 2130954 commit 73142a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lvis/eval.py
Expand Up @@ -87,7 +87,7 @@ def _prepare(self):
# presence or absence in an image.
img_data = self.lvis_gt.load_imgs(ids=self.params.img_ids)
# per image map of categories not present in image
img_nl = {d["id"]: d["not_exhaustive_category_ids"] for d in img_data}
img_nl = {d["id"]: d["neg_category_ids"] for d in img_data}
# per image list of categories present in image
img_pl = defaultdict(set)
for ann in gts:
Expand Down

0 comments on commit 73142a4

Please sign in to comment.