Skip to content

Confuse about get_affine_transform function #77

@yfthu

Description

@yfthu

Hello, you have done a great job! However, I'm confused about the get_affine_transform function in mks0601/TF-SimpleHumanPose/main/gen_batch.py
image

  1. when calcualte src_dir = get_dir([0, src_w * -0.5], rot_rad), I think it should be src_dir = get_dir([src_w * -0.5, 0], rot_rad), because the first index is width.

  2. in your get_affine_transform, if shift=0 in input, only scale[0] is used, scale[1] is not used, I think it is incorrect.

Thank you very much!

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