opendet2 icon indicating copy to clipboard operation
opendet2 copied to clipboard

Errors while saving the results

Open OliviaWang123456 opened this issue 3 years ago • 1 comments

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.

OliviaWang123456 avatar Apr 06 '22 06:04 OliviaWang123456

Thanks! The bug is fixed by this commit.

csuhan avatar Apr 06 '22 06:04 csuhan