Skip to content

关于MSDeformAttn中sampling_locations的归一化如何理解问题 #239

@20231211

Description

@20231211

elif reference_points.shape[-1] == 4:
sampling_locations = reference_points[:, :, None, :, None, :2]
+ sampling_offsets / self.n_points * reference_points[:, :, None, :, None, 2:] * 0.5
这里归一化为什么是除以 self.n_points * reference_points[:, :, None, :, None, 2:] * 0.5

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