Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when running "python mask_the_face.py --path 'data/frontal1.jpg' --mask_type N95 --verbose --write_original_image" with dlib==19.24.99 #42

Open
zhang123-sys opened this issue Mar 6, 2024 · 1 comment

Comments

@zhang123-sys
Copy link

(python3.6) E:\face_mask\MaskTheFace>python mask_the_face.py --path 'data/frontal1.jpg' --mask_type N95 --verbose --write_original_image
Traceback (most recent call last):
  File "mask_the_face.py", line 86, in <module>
    args.predictor = dlib.shape_predictor(path_to_dlib_model)
RuntimeError: Error deserializing object of type int

image

@Arpan-14
Copy link

Update dlib library to newer versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants