Skip to content

[BUG] Issue title...Results do not correspond to current coco set #263

@Aliweka2020

Description

@Aliweka2020

I am creating a jupyter notebook to train and validate DETR using efficinet architecture on coco dataset.
while evaluating this error apear

~\anaconda3\lib\site-packages\pycocotools\coco.py in loadRes(self, resFile)
324 assert type(anns) == list, 'results in not an array of objects'
325 annsImgIds = [ann['image_id'] for ann in anns]
--> 326 assert set(annsImgIds) == (set(annsImgIds) & set(self.getImgIds())),
327 'Results do not correspond to current coco set'
328 if 'caption' in anns[0]:

AssertionError: Results do not correspond to current coco set

any help ..?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions