csuhan / opendet2

Official code of the paper "Expanding Low-Density Latent Regions for Open-Set Object Detection" (CVPR 2022)
https://arxiv.org/abs/2203.14911
103 stars 11 forks source link

Errors while saving the results #1

Open OliviaWang123456 opened 2 years ago

OliviaWang123456 commented 2 years ago

Hi, thank you for releasing the codes so fast. The output of .evaluate() in the evaluation class is not compatible with the Detectron2 codes.

Traceback (most recent call last): File "/home/wangqiuyue/.local/lib/python3.8/site-packages/detectron2/engine/hooks.py", line 431, in _do_eval v = float(v) ValueError: could not convert string to float: '79.48,0.0,0.0,79.48,19.0,93.42,77.87,23.16,89.94'

ValueError: [EvalHook] eval_function should return a nested dict of float. Got 'voc_2007_test/mAP,WI,AOSE,AP@K,P@K,R@K,AP@U,P@U ,R@U: 79.48,0.0,0.0,79.48,19.0,93.42,77.87,23.16,89.94' instead.

csuhan commented 2 years ago

Thanks! The bug is fixed by this commit.