Skip to content

Some questions about the x and y coordinates! #44

@FightStone

Description

@FightStone
  1. In calc() function which in group.py file, x and y define for this:
    x = ind % w
    y = (ind / w).long()
    ind_k = torch.stack((x, y), dim=3)
  2. But in adjust() function which in group.py file, the order of x and y is:
    y, x = joint[0:2]
  3. And in refine() function which in test.py file, the order of x and y is:
    y, x = keypoints[i][:2].astype(np.int32)
  4. Bue in genDtByPred() function which in test.py file, order of x and y is:
    tmp["keypoints"] += [float(j[0]), float(j[1]), 1]

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