From 851bbb1f430d53e5c769f8f850d9536277e214c4 Mon Sep 17 00:00:00 2001 From: Jim Martens Date: Wed, 17 Apr 2019 13:27:51 +0200 Subject: [PATCH] Fixed typo Signed-off-by: Jim Martens --- src/twomartens/masterthesis/data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/twomartens/masterthesis/data.py b/src/twomartens/masterthesis/data.py index 6b46704..81d59b9 100644 --- a/src/twomartens/masterthesis/data.py +++ b/src/twomartens/masterthesis/data.py @@ -99,7 +99,7 @@ def load_coco_val(data_path: str, category: int, Returns: Tensorflow data set """ - annotation_file_minival = f"{data_path}/annotations/instances/val2017.json" + annotation_file_minival = f"{data_path}/annotations/instances_val2017.json" coco_val = coco.COCO(annotation_file_minival) img_ids = coco_val.getImgIds(catIds=[category]) # return all image IDs belonging to given category