1adrianb / 1adrianb/face-alignment

time cost

Offen
#216 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
question
Vorherrschende Sprache
Python
Sterne
7.5k
Forks
1.4k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python, pytorch
Bereich
performance
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.