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