Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Perform non maximum suppression for classes separately (request to extend code) #53

Open
schneider128k opened this issue Aug 15, 2019 · 0 comments
Labels
enhancement New feature or request inference

Comments

@schneider128k
Copy link

Right now the non maximum suppression is performed for all the bounding boxes for all the classes.

def yolo_nms(outputs, anchors, masks, classes):

Would it be possible to add a flag that allows you to carry out the non maximum class separately for different classes?

I have a use case where a large object can sometimes have a smaller object attached to it. The problem is that the bounding box of the smaller object (if it is present) is always suppressed by the bounding object of the larger object.

I have found a hacky solution that works for me, but I think that it would be useful to a have a general solution.

@zzh8829 zzh8829 added enhancement New feature or request inference labels Dec 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request inference
Projects
None yet
Development

No branches or pull requests

2 participants