1adrianb / 1adrianb/face-alignment
Parallelizing on the CPU
- 主要语言
- Python
- 星标
- 7.5k
- 派生
- 1.4k
- PR 合并指标
- 30 天内没有已合并 PR
描述
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.
贡献指南
这个仓库没有索引到贡献指南
调研方向
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.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python, pytorch
- 领域
- performance
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100