ageitgey / ageitgey/face_recognition

How to use intel-numpy instead of general numpy?

Open
#640 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
56.8k
Forks
13.7k
PR merge metrics
No merged PRs in 30d

Description

  • face_recognition version: 1.2.3
  • Python version: 2.7.16
  • Operating System: Windows 10 x64
Description

Is it possible to use intel-numpy instead of general numpy to increase performance utilizing Intel TBB and DAAL technologies?

What I Did

I tried to uninstall numpy and install intel-numpy using pip, but when I try to run my script it fails with "Importing the multiarray numpy extension module failed. Most likely you are trying to import a failed build of numpy." Then I tried to reinstall face_recognition module with "--force-reinstall" option and installation script has installed general numpy module.

So is there any way I can use TBB and DAAL with face_recognition?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the face_recognition installation behavior described for Python 2.7 on Windows and reproduce the failure after replacing numpy with intel-numpy. Determine whether the requested TBB and DAAL setup can be supported, then document the supported installation path or the incompatibility.

Written by the indexing model from the issue text.

Assessment

Tech stack
numpy, python
Domain
machine-learning, performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.