1adrianb / 1adrianb/face-alignment

time cost

Aperta
#216 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
question
Lingua principale
Python
Stelle
7.5k
Fork
1.4k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
python, pytorch
Ambito
performance
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.