hitachi-rd-cv / qpic

Repo for CVPR2021 paper "QPIC: Query-Based Pairwise Human-Object Interaction Detection with Image-Wide Contextual Information"
Apache License 2.0
134 stars 34 forks source link

When generating the .pickle file of v-coco, the officially given test method was used and was unsuccessful. Please give us some comments #35

Closed hutuo1213 closed 1 year ago

hutuo1213 commented 2 years ago

loading annotations into memory... Done (t=1.75s) creating index... index created! loading vcoco annotations... Traceback (most recent call last): File "runvcoco.py", line 15, in vcocoeval._do_eval('/home1/quan107552101247/qpic/vcocof.pickle', ovr_thresh=0.5) File "/home1/quan107552101247/qpic/vsrl_eval.py", line 192, in _do_eval self._do_agent_eval(vcocodb, detections_file, ovr_thresh=ovr_thresh) File "/home1/quan107552101247/qpic/vsrl_eval.py", line 417, in _do_agent_eval assert(np.amax(rec) <= 1) File "<__array_function__ internals>", line 6, in amax File "/home1/quan107552101247/.local/lib/python3.7/site-packages/numpy/core/fromnumeric.py", line 2621, in amax keepdims=keepdims, initial=initial, where=where) File "/home1/quan107552101247/.local/lib/python3.7/site-packages/numpy/core/fromnumeric.py", line 90, in _wrapreduction return ufunc.reduce(obj, axis, dtype, out, **passkwargs) ValueError: zero-size array to reduction operation maximum which has no identity