Closed f-izzat closed 1 year ago
Thanks for the report, but this is an old repo that I am no longer maintaining.
IIRC this code was translated from MediaPipe's C++ implementation, so perhaps they fixed this bug already (of course, it could also be a bug I introduced by translating the code wrong).
the loop
is infinite if len(remaining) == 1. I faced this when
remaining = tensor([1])
. Should it not bewhile len(remaining) > 1
. Note this case occured when i set the min_score and min_suppression thresholds to 0.172, 0.104 respectively (if thats of any use)