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
I got ZeroDivisionError: division by zero from panopticapi/evaluation.py for empty prediction.
With tp + fp + fn == 0, self increament of n is skipped.
When all of categories.items() are skipped because empty prediction, n becomes zero and an error is reported.
Shouldn't n increase whenever category isthing (right after the first continue)?
I got
ZeroDivisionError: division by zero
frompanopticapi/evaluation.py
for empty prediction.With
tp + fp + fn == 0
, self increament ofn
is skipped.When all of categories.items() are skipped because empty prediction,
n
becomes zero and an error is reported.Shouldn't
n
increase whenever categoryisthing
(right after the first continue)?The text was updated successfully, but these errors were encountered: