ap_array is empty
aries-young opened this issue · 7 comments
I got this error during evaluating. I found sometimes ap_array was empty. Could you kind give some advice to adjust it?
File "/Explore-and-Match/lib/evaluate/eval.py", line 75, in compute_ap
iou_thd2ap = dict(zip([str(e) for e in iou_thds], ap_thds))
TypeError: 'numpy.float64' object is not iterable
Hello, as for this problem, do you have some solution for me to reproduce this work ?
Since there is no error in my case, It seems that modification of the code is causing the issue.
Please take a look at the code you have modified!
And if you need further help, as the error message is too general, could you perhaps elaborate?
Since there is no error in my case, It seems that modification of the code is causing the issue. Please take a look at the code you have modified!
And if you need further help, as the error message is too general, could you perhaps elaborate?
Thank you so much. I'll check my code carefully. So sorry to bother you.
No problem :)
I had the same problem. I found that this is due to the fact that there are not moments in "Long" length.
I had the same problem. I found that this is due to the fact that there are not moments in "Long" length.
Have you solved this problem?
If you do not need to specify the length of time segments, maybe you can consider removing all the "range-related" codes and just run!