1adrianb / 1adrianb/face-alignment

Parallelizing on the CPU

Đang mở
#266 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
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ả

Is it possible or has anyone tried to parallelize face-alignment on the CPU? I tried to do so with `from multiprocessing import Pool`, but I ran into [this pytorch issue](https://github.com/pytorch/pytorch/issues/18106).

I'm assuming the thing to do is to just run on a GPU, but I thought I would put it out there in case someone already knows a way to make multiprocessing work.

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

Look at the face-alignment library's inference code to understand the model loading and prediction flow. Investigate the PyTorch multiprocessing issue linked, and explore alternatives like threading, joblib, or using PyTorch's own DataLoader with num_workers. Check if there are existing examples of CPU parallelization in similar PyTorch-based vision libraries.

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
Tính năng
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
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.