When installing dlib getting some error

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) Jetson
• DeepStream Version - 6.0.1
• JetPack Version (valid for Jetson only) - 4.6.3
• TensorRT Version - 8.4
• NVIDIA GPU Driver Version (valid for GPU only) - 10.2
• Issue Type( questions, new requirements, bugs)- when i try install dlib in jetson geting this and installed dlib version is 19.18.0 and face_recognition version is 1.2.3
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

jetson@ubuntu:~$ python3
Python 3.6.9 (default, Mar 10 2023, 16:46:00)
[GCC 8.4.0] on linux
Type “help”, “copyright”, “credits” or “license” for more information.

import face_recognition
Traceback (most recent call last):
File “”, line 1, in
File “/home/jetson/.local/lib/python3.6/site-packages/face_recognition/init.py”, line 7, in
from .api import load_image_file, face_locations, batch_face_locations, face_landmarks, face_encodings, compare_faces, face_distance
File “/home/jetson/.local/lib/python3.6/site-packages/face_recognition/api.py”, line 18, in
pose_predictor_68_point = dlib.shape_predictor(predictor_68_point_model)
RuntimeError: Error deserializing object of type short
while deserializing a floating point number.
while deserializing a dlib::matrix
while deserializing object of type std::vector
while deserializing object of type std::vector
while deserializing object of type std::vector

There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one. Thanks

This forum is talk about DeepStream.

Please use Google for help.


This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.