1adrianb / 1adrianb/face-alignment

time cost

Đang mở
#216 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
question
Ngôn ngữ chính
Python
Star
7.5k
Fork
1.4k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
python, pytorch
Lĩnh vực
performance
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.