Skip to content

Space/time complexity of batched_nms grows quadratically with batch size #1311

@ppwwyyxx

Description

@ppwwyyxx

batched_nms now performs a regular NMS for all boxes combined together. Since NMS takes O(n^2) space and time, the complexity of batch_nms grows quadratically with batch size.

Ideally the complexity should grow linearly with batch size.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions