1adrianb / 1adrianb/face-alignment

When i use face_alignment.FaceAlignment(face_alignment.LandmarksType.THREE_D, flip_input=False), Why the key point shape of the last picture is (1, 1, 68, 3), and the shape of other images are (1, 1, 68, 2)

Open
#353 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
7.5k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

When i use face_alignment.FaceAlignment(face_alignment.LandmarksType.THREE_D, flip_input=False), Why the key point shape of the last picture is (1, 3, 68, 3), and the shape of other images are (1, 1, 68, 3)

Contributor guide

No contributing guide indexed for this repository

Research direction

Look at the face_alignment.FaceAlignment class and its get_landmarks method. The issue mentions inconsistent output shapes for 3D landmarks. Check the input processing and how the model handles different image batches or the last image in a sequence. Run a small script to reproduce the shape mismatch with a few test images.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
ai, computer-vision
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.