Skip to content

Limit bounding boxes #2248

Answered by glenn-jocher
amandakj asked this question in Q&A
Feb 19, 2021 · 4 comments · 14 replies
Discussion options

You must be logged in to vote

@amandakj yes, you can control this by varying NMS settings to suit your needs:

  • Agnostic NMS will run NMS across all classes at once, eliminating incidences of overlapping boxes from different classes (False by default). To enable: python detect.py --agnostic
  • Multilabel NMS assigns all classes above threshold to the same bounding box. Enabled by default. You can disable here:
    multi_label = nc > 1 # multiple labels per box (adds 0.5ms/img)

Replies: 4 comments 14 replies

Comment options

You must be logged in to vote
3 replies
@amandakj
Comment options

@alucor-it
Comment options

@glenn-jocher
Comment options

Answer selected by amandakj
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
7 replies
@glenn-jocher
Comment options

@jeannotes
Comment options

@glenn-jocher
Comment options

@SpongeBab
Comment options

@jeannotes
Comment options

Comment options

You must be logged in to vote
4 replies
@myasser63
Comment options

@glenn-jocher
Comment options

@myasser63
Comment options

@glenn-jocher
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants