ADD-GCN icon indicating copy to clipboard operation
ADD-GCN copied to clipboard

ZeroDivisionError:float division by zero

Open annni1 opened this issue 3 years ago • 2 comments

file:util.py function:average_precision() question1:The problem of ZeroDiVisionError:float Division by Zero often occurs in the function that calculates the average precision of each class in the util.py file.Maybe because pos_count is always zero.The program did not perform +1 operation. How to solve excuse me? question2:If label==1 was found in two places in the function average_precision() code. Is there an error here?

annni1 avatar Jun 30 '21 08:06 annni1

voc2012 ? http://host.robots.ox.ac.uk:8080/

sorrowyn avatar Jul 03 '21 05:07 sorrowyn

Having the same issue here, how did you fix it? Thanks!!

Wollytt avatar Nov 12 '21 16:11 Wollytt