Skip to content

Improved efficiency in the forward part of the decoder. #37

Description

@tyui592

obj_center = reference_points[..., :2].transpose(0, 1) # [num_queries, batch_size, 2]

Since reference_points does not change in the for loop, it is more efficient that pre-calculate the obj_center.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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