Skip to content

Cuda NMS argsorts with invalid entries #6629

@ghost

Description

I believe the following two lines should have valid_count=valid_count, as in the default implementation. I believe the data array is zeroed at initialization for cuda, so the issue only manifests if nms is run more than once, with the first run containing more valid boxes than the second run.

https://github.com/apache/incubator-tvm/blob/21002cd094c34716b1e07a63ed76f53dadd60e23/python/tvm/topi/cuda/nms.py#L488

https://github.com/apache/incubator-tvm/blob/21002cd094c34716b1e07a63ed76f53dadd60e23/python/tvm/topi/cuda/nms.py#L492

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions