centernet-pytorch icon indicating copy to clipboard operation
centernet-pytorch copied to clipboard

用coco工具计算0.50:0.95map提示Results do not correspond to current coco set

Open zhiyuan454 opened this issue 4 years ago • 2 comments
trafficstars

zhiyuan454 avatar Oct 12 '21 03:10 zhiyuan454

D:\work\conda\python.exe G:/centernet-pytorch-b/get_map.py Get map. loading annotations into memory... Done (t=0.07s) creating index... index created! Loading and preparing results... Traceback (most recent call last): File "G:/centernet-pytorch-b/get_map.py", line 112, in get_coco_map(class_names = class_names, path = map_out_path) File "G:\centernet-pytorch-b\utils\utils_map.py", line 893, in get_coco_map cocoDt = cocoGt.loadRes(DR_JSON_PATH) File "D:\work\conda\lib\site-packages\pycocotools\coco.py", line 327, in loadRes 'Results do not correspond to current coco set' AssertionError: Results do not correspond to current coco set

zhiyuan454 avatar Oct 12 '21 04:10 zhiyuan454

coco源码这里注释掉就行

bubbliiiing avatar Oct 13 '21 15:10 bubbliiiing