Skip to content

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

@zhang123-sys

Description

@zhang123-sys
(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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions