You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: