1adrianb / 1adrianb/face-alignment

time cost

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

Description

fa = face_alignment.FaceAlignment(face_alignment.LandmarksType._2D, flip_input=False, device='cuda')
fa.get_landmarks(img)

how much seconds is it cost?
I get 8 seconds for 3 pictures.

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue asks about the execution time of `fa.get_landmarks(img)`. Start by reading the library's source code for the FaceAlignment class and the get_landmarks method to understand the pipeline. Create a small benchmark script to measure the time per image, considering factors like image size, GPU vs CPU, and model loading. Check if there are existing performance tests or profiling tools in the repository. The goal is to quantify the time cost and identify potential bottlenecks.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
performance
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.