Changes to Batch Non-Max Suppression to enable batch inference.
A few change to prepare for batch inference: * Modify the return type of batch non max suppression to be tuple of tensors so it can be reused for both stages of faster rcnn without any confusion in the semantics implied the the keys used to represent the tensors. * Allow dynamic number of anchors (boxes) in addition to dynamic batch size. * Remove a redundant dynamic batch size test.
Showing
Please register or sign in to comment