How to rescale the size of pose skeleton?
During inference, we rescale the length of the driving pose skeleton to approximate the length of the character’s skeleton in the reference image. Does anyone know how to do this step? I saw it in the inference code: pose_transform = transforms.Compose( [transforms.Resize((height, width)), transforms.ToTensor()] ) for pose_image_pil in pose_images[: args.L]: pose_tensor_list.append(pose_transform(pose_image_pil)) pose_list.append(pose_image_pil)
ref_image_tensor = pose_transform(ref_image_pil) # (c, h, w)
But this changes the whole picture and does not help the bone size of the reference picture, which is highlighted when the reference picture is of a child.
have you solved it ?
It's just a image resize not the pose skeleton rescale mentioned in the paper. Actually, the actual implementation is not introduced in their work. So we have no idea how they achieved it.