Skip to content

Questions about get_key_value func #43

@OrangeSodahub

Description

@OrangeSodahub

Hi, when I browse the code, I found some variables not used at all in get_key_value:

xy = get_x_2d(ori_w, ori_h)[:, :, :2]
xy = xy[query_scale//2::query_scale, query_scale//2::query_scale]
xy = torch.tensor(xy, device=key_value.device).float()[

Could you verify that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions