1adrianb / 1adrianb/face-alignment

get_landmarks_from_batch returns an empty list

Open
#333 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
7.5k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

My code is as follows:
```
imgs = imgs.permute(0, 3, 1, 2)# B x C x H x W
landmark = self.face_algm.get_landmarks_from_batch(imgs)
```
The picture I used is the frame intercepted by the MEAD dataset, but it returned an empty list to me, what did I do wrong?

Contributor guide

No contributing guide indexed for this repository

Research direction

Check the face-alignment library's documentation for input format expectations. The issue mentions permuting dimensions; verify the correct tensor shape and data type. Look at the get_landmarks_from_batch method in the source code to understand its requirements. Test with a known good image to isolate the problem.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.