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
{{ message }}
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.
When training gluoncv ssd model, validation sometimes takes way more longer time than the training epoch. After debugging, the problem comes from the box_nms operator which contributes most of the time.
Description
When training gluoncv ssd model, validation sometimes takes way more longer time than the training epoch. After debugging, the problem comes from the
box_nms
operator which contributes most of the time.Environment info (Required)
Minimum reproducible example
The following snippets show
box_nms
will take very long time when processing a lot of prior boxesWhat I have found out
SortByKey
function degrades badly on sorting lengthbox_nms
operator doesn't remove background boxes in valid box filtering which leads to big sorting lengthWhat I have done
box_nms
: the validation process accelerates dramatically since most of boxes are classified as background.I will post a PR on the second solution.
The text was updated successfully, but these errors were encountered: