WiderFace-Evaluation icon indicating copy to clipboard operation
WiderFace-Evaluation copied to clipboard

KeyError: '0_Parade_marchingband_1_465'

Open xauat-liushipeng opened this issue 4 years ago • 9 comments

why do it have this error? I have run python setup.py build_ext --inplace and python3 evaluation.py -p results/ -g ground_truth/

details: Reading Predictions : 100%|█████████████████████| 61/61 [00:00<00:00, 93.52it/s] Processing easy: 0%| | 0/61 [00:00<?, ?it/s]Traceback (most recent call last): File "evaluation.py", line 280, in evaluation(args.pred, args.gt) File "evaluation.py", line 242, in evaluation pred_info = pred_list[str(img_list[j][0][0])] KeyError: '0_Parade_marchingband_1_465' Processing easy: 0%| | 0/61 [00:00<?, ?it/s]

xauat-liushipeng avatar Dec 17 '20 09:12 xauat-liushipeng

sorry, i have solve the problem. But how can i get the PR curve?

xauat-liushipeng avatar Dec 17 '20 13:12 xauat-liushipeng

sorry, i have solve the problem. But how can i get the PR curve?

excuse me ,can you tell me How did you solve this problem?

kingjames1155 avatar Apr 12 '21 07:04 kingjames1155

sorry, i have solve the problem. But how can i get the PR curve?

excuse me ,can you tell me How did you solve this problem?

Make sure that you are using the validation data set for producing your predictions. (since the ground truths are for validation) Other option might be that for some reason you don't have the matching file in your predictions.

viljamirom avatar Apr 14 '21 15:04 viljamirom

why do it have this error? I have run python setup.py build_ext --inplace and python3 evaluation.py -p results/ -g ground_truth/

details: 0it [00:00, ?it/s] Processing easy: 0%| | 0/61 [00:00<?, ?it/s] Traceback (most recent call last): File "evaluation.py", line 287, in evaluation(args.pred, args.gt) File "evaluation.py", line 236, in evaluation pred_list = pred[event_name] KeyError: '0--Parade'

NguyenKhacTuanAnh avatar Jun 11 '21 04:06 NguyenKhacTuanAnh

sorry, i have solve the problem. But how can i get the PR curve?

why do it have this error? I have run python setup.py build_ext --inplace and python3 evaluation.py -p results/ -g ground_truth/

details: Reading Predictions : 100%|█████████████████████| 61/61 [00:00<00:00, 93.52it/s] Processing easy: 0%| | 0/61 [00:00<?, ?it/s]Traceback (most recent call last): File "evaluation.py", line 280, in evaluation(args.pred, args.gt) File "evaluation.py", line 242, in evaluation pred_info = pred_list[str(img_list[j][0][0])] KeyError: '0_Parade_marchingband_1_465' Processing easy: 0%| | 0/61 [00:00<?, ?it/s]

Excuse me. How do you solve problem? Thank you

NguyenKhacTuanAnh avatar Jun 11 '21 04:06 NguyenKhacTuanAnh

sorry, i have solve the problem. But how can i get the PR curve?

why do it have this error? I have run python setup.py build_ext --inplace and python3 evaluation.py -p results/ -g ground_truth/ details: Reading Predictions : 100%|█████████████████████| 61/61 [00:00<00:00, 93.52it/s] Processing easy: 0%| | 0/61 [00:00<?, ?it/s]Traceback (most recent call last): File "evaluation.py", line 280, in evaluation(args.pred, args.gt) File "evaluation.py", line 242, in evaluation pred_info = pred_list[str(img_list[j][0][0])] KeyError: '0_Parade_marchingband_1_465' Processing easy: 0%| | 0/61 [00:00<?, ?it/s]

Excuse me. How do you solve problem? Thank you

I'm sorry forgot it. May be there is nothing in dir 'results'?

xauat-liushipeng avatar Jun 11 '21 04:06 xauat-liushipeng

sorry, i have solve the problem. But how can i get the PR curve?

why do it have this error? I have run python setup.py build_ext --inplace and python3 evaluation.py -p results/ -g ground_truth/ details: Reading Predictions : 100%|█████████████████████| 61/61 [00:00<00:00, 93.52it/s] Processing easy: 0%| | 0/61 [00:00<?, ?it/s]Traceback (most recent call last): File "evaluation.py", line 280, in evaluation(args.pred, args.gt) File "evaluation.py", line 242, in evaluation pred_info = pred_list[str(img_list[j][0][0])] KeyError: '0_Parade_marchingband_1_465' Processing easy: 0%| | 0/61 [00:00<?, ?it/s]

Excuse me. How do you solve problem? Thank you

I'm sorry forgot it. May be there is nothing in dir 'results'? I modify dir 'result' as below image. Where am i wrong? Screenshot from 2021-06-11 11-07-55

NguyenKhacTuanAnh avatar Jun 11 '21 04:06 NguyenKhacTuanAnh

sorry, i have solve the problem. But how can i get the PR curve?

why do it have this error? I have run python setup.py build_ext --inplace and python3 evaluation.py -p results/ -g ground_truth/ details: Reading Predictions : 100%|█████████████████████| 61/61 [00:00<00:00, 93.52it/s] Processing easy: 0%| | 0/61 [00:00<?, ?it/s]Traceback (most recent call last): File "evaluation.py", line 280, in evaluation(args.pred, args.gt) File "evaluation.py", line 242, in evaluation pred_info = pred_list[str(img_list[j][0][0])] KeyError: '0_Parade_marchingband_1_465' Processing easy: 0%| | 0/61 [00:00<?, ?it/s]

Excuse me. How do you solve problem? Thank you

I'm sorry forgot it. May be there is nothing in dir 'results'? I modify dir 'result' as below image. Where am i wrong? Screenshot from 2021-06-11 11-07-55

I did forget. You can try another method.Just after you get your test results, you can try the official MATLAB Toolbox

xauat-liushipeng avatar Jun 11 '21 04:06 xauat-liushipeng

the inconsistence between data and ground true may bring this error

huashunfu avatar Mar 02 '22 07:03 huashunfu