faceutils icon indicating copy to clipboard operation
faceutils copied to clipboard

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

Open Luke1962 opened this issue 4 years ago • 0 comments

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 ?

Luke1962 avatar Aug 09 '19 16:08 Luke1962