ageitgey / ageitgey/face_recognition

pyinstaller face_recognition

Open
#712 3 comments 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:
  • Python version:3.7.1
  • Operating System:windows 10
Description

when i using pyinstaller to generate exe file, no problem, but i exe it, result as follow:

E:\Project\FaceRecognization\face_recognition_models\models\dlib_face_recognition_resnet_model_v1.dat could not be extracted!
fopen: Invalid argument

Describe what you were trying to get done.
Tell us what happened, what went wrong, and what you expected to happen.
IMPORTANT: If your issue is related to a specific picture, include it so others can reproduce the issue.

What I Did

I don't know how ot do, i try install dlib again, but no gain

Paste the command(s) you ran and the output.
If there was a crash, please include the traceback here.

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

No project file or test is named. Start by reproducing the PyInstaller executable failure on Windows with the reported Python 3.7.1 setup and inspect how the face_recognition_models .dat file is bundled and located; done means the generated executable can load dlib_face_recognition_resnet_model_v1.dat without the extraction error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.