Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于数据处理,请大神解惑。 #170

Open
YuQi9797 opened this issue Sep 20, 2021 · 1 comment
Open

关于数据处理,请大神解惑。 #170

YuQi9797 opened this issue Sep 20, 2021 · 1 comment

Comments

@YuQi9797
Copy link

https://github.com/microsoft/human-pose-estimation.pytorch/blob/master/lib/dataset/JointsDataset.py#L85

您好,请问下,代码中center, scale部分。 请问下:

1.这里的center是标注人的目标框的中心坐标吗?
2.喂入网络模型的输入是整张图还是根据目标框裁剪好的图呢?

  • 如果喂入的是整张图,那么center是整张图的中心, 还是目标框对应的中心呢?
  • 如果是裁剪好的图,是否是目标框对应中心?
@LeBron-Jian
Copy link

我这里实验, center是标注bbox的中心。 喂入网络的是比目标框裁剪大一些的图(scale_ratio=1.25), 部分图像做了仿射变换。 你其实打印一下Dataset就可以看到了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants