opendet2
opendet2 copied to clipboard
Errors while saving the results
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.
Thanks! The bug is fixed by this commit.