pytorch-pose icon indicating copy to clipboard operation
pytorch-pose copied to clipboard

Hi, there are some problems about transform.py

Open wqz960 opened this issue 6 years ago • 2 comments

wqz960 avatar Apr 07 '19 08:04 wqz960

inp = crop(img_trans, center, scale, [256,256]) trans_pts3d = transform_preds(torch.tensor(pts3d), center, scale, [256, 256]) I want to crop all data to [256,256], and the groundtrue landmarks is transformed by your transform_preds function. But finally the landmarks did not match the image. Can you help me to correct it? THANK YOU!

wqz960 avatar Apr 07 '19 08:04 wqz960

@wqz960 Hi, I also want to train this network on on my own dataset, my input picuture size is 720x1280, but I don't know how to set the scale and center. Can you give me some advice?

YinZ-510 avatar Apr 14 '19 09:04 YinZ-510