Moore-AnimateAnyone icon indicating copy to clipboard operation
Moore-AnimateAnyone copied to clipboard

How to rescale the size of pose skeleton?

Open learnuser1 opened this issue 2 years ago • 3 comments

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.

learnuser1 avatar Jan 26 '24 08:01 learnuser1

have you solved it ?

zhuyglx avatar Mar 06 '24 01:03 zhuyglx

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.

syorami avatar May 27 '24 09:05 syorami