Skip to content

gender_model.pickle file should be in binary format instead of text? #7

@Luke1962

Description

@Luke1962

When I run face_recognition_node.py , now I receive this message and the node dies.

process[ros_face_recognition-1]: started with pid [14644]
Traceback (most recent call last):
  File "/home/luca/ros/src/ros_face_recognition/scripts/face_recognition_no
    import face_api
  File "/home/luca/ros/src/ros_face_recognition/scripts/face_api.py", line
    _classifier = pickle.load(open(os.path.join(os.path.join(_base_dir, "da
TypeError: a bytes-like object is required, not 'str'

May be the file gender_model.pickle should be in binay format instead of text ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions