Open yfthu opened 2 years ago
For both questions, you are correct. Sorry for the wrong ones :( To be honest, the codes in this repo are outdated version. You can refer to codes in my recent repo (https://github.com/mks0601/I2L-MeshNet_RELEASE/blob/4c71b89713eccfb893607963696f368f4beb9fa6/common/utils/preprocessing.py#L92).
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](https://user-images.githubusercontent.com/44047538/146787974-f728dd65-5577-46d7-92ec-1f79704953b7.png)
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.
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!