Skip to content

problem about outputs_coord #654

@luotianhang

Description

@luotianhang

outputs_coord_delta = self.bbox_embed(hs)
outputs_coord_cxcy = outputs_coord_delta[..., :2] * ref_unsigmoid[..., 2:] + ref_unsigmoid[..., :2]
outputs_coord_wh = outputs_coord_delta[..., 2:].exp() * ref_unsigmoid[..., 2:]
outputs_coord = torch.concat(
[outputs_coord_cxcy, outputs_coord_wh], dim=-1
)

I am working on this project ,and find a question ,the ref_unsigmoid is very unstable, and how to make sure all the value of outputs_coord is in [0,1],without a sigmoid

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