© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
ImmichI
Immich•3y ago•
73 replies
Chacsam

Face recognition Issue

Face recognition has been running fine (if you believe the interface), but the People menu doesn't appear in the explore menu.
The ip:2283/api/person only displays [], no thumbnail.

Errors in the log of the machine learning container:
  File "/opt/venv/lib/python3.10/site-packages/onnxruntime/capi/onnxruntime_inference_collection.py", line 397, in _create_inference_session
    sess = C.InferenceSession(session_options, self._model_path, True, self._read_config_from_model)
onnxruntime.capi.onnxruntime_pybind11_state.InvalidProtobuf: [ONNXRuntimeError] : 7 : INVALID_PROTOBUF : Load model from /cache/models/buffalo_l/1k3d68.onnx failed:Protobuf parsing failed.
2023-05-18 19:13:56.676680506 [E:onnxruntime:Default, env.cc:251 ThreadMain] pthread_setaffinity_np failed for thread: 734, index: 2, mask: {3, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.
INFO:     172.18.0.8:57840 - "POST /facial-recognition/detect-faces HTTP/1.1" 500 Internal Server Error
ERROR:    Exception in ASGI application
  File "/opt/venv/lib/python3.10/site-packages/onnxruntime/capi/onnxruntime_inference_collection.py", line 397, in _create_inference_session
    sess = C.InferenceSession(session_options, self._model_path, True, self._read_config_from_model)
onnxruntime.capi.onnxruntime_pybind11_state.InvalidProtobuf: [ONNXRuntimeError] : 7 : INVALID_PROTOBUF : Load model from /cache/models/buffalo_l/1k3d68.onnx failed:Protobuf parsing failed.
2023-05-18 19:13:56.676680506 [E:onnxruntime:Default, env.cc:251 ThreadMain] pthread_setaffinity_np failed for thread: 734, index: 2, mask: {3, }, error code: 22 error msg: Invalid argument. Specify the number of threads explicitly so the affinity is not set.
INFO:     172.18.0.8:57840 - "POST /facial-recognition/detect-faces HTTP/1.1" 500 Internal Server Error
ERROR:    Exception in ASGI application
ImmichJoin
A place to hang out, get support, discuss Immich, get announcements about releases and anything else going on.
36,590Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements
Next page

Similar Threads

Kids face recognition "issue"
ImmichIImmich / help-desk-support
3y ago
Face recognition tweaking
ImmichIImmich / help-desk-support
15mo ago
Face recognition of babies
ImmichIImmich / help-desk-support
3mo ago
Face Recognition Data sharing
ImmichIImmich / help-desk-support
6mo ago