tue-mps / rescience-ijcai2017-230

[Re] Object Detection Meets Knowledge Graphs
16 stars 2 forks source link

IndexError: list index out of range #2

Open ChristineDewi opened 3 weeks ago

ChristineDewi commented 3 weeks ago

(KD) D:\PROJECT\rescience-ijcai2017-230>python -m Results.results_coco loading annotations into memory... Done (t=6.95s) creating index... index created! loading annotations into memory... Done (t=3.31s) creating index... index created! COCO test set: 4000 Images Loading frequency based consistency matrix Loading knowledge based consistency matrix Loading knowledge based consistency matrix Currently testing: threshold = 1e-05 bk = 5 lk = 5 epsilon = 0.75 S = KG-CNet-57-COCO top k = 100 Traceback (most recent call last): File "D:\anaconda3\envs\KD\lib\runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "D:\anaconda3\envs\KD\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "D:\PROJECT\rescience-ijcai2017-230\Results\results_coco.py", line 178, in num_classes - 1, topk) File "D:\PROJECT\rescience-ijcai2017-230\Utils\testing.py", line 149, in test_function_kg boxes_temp = prediction[1][0]['boxes'] IndexError: list index out of range

ChristineDewi commented 3 weeks ago

Can someone help with this code error? thanks