Closed rui-nar closed 3 months ago
Can you try docker compose down
and docker compose up
then try again?
have done that multiple times since I even tried pulling an earlier image of the machine learning container (which ended with a GPU limit exceeded). I've reproduced this issue at every time I came back to a full 1.107.0 version of all containers.
I assume it is related to OpenVINO. Can you try to comment out this block of code in your docker-compose.yml
file and then bring the containers down/up again? After that try to rerun the job
Commented it but I'm seeing the same error:
container_name: immich_machine_learning
# For hardware acceleration, add one of -[armnn, cuda, openvino] to the image tag.
# Example tag: ${IMMICH_VERSION:-release}-cuda
image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}
privileged: true
# extends: # uncomment this section for hardware acceleration - see https://immich.app/docs/features/ml-hardware-acceleration
# file: hwaccel.ml.yml
# service: openvino # set to one of [armnn, cuda, openvino, openvino-wsl] for accelerated inference - use the `-wsl` version for WSL2 where applicable
volumes:
- /volume1/docker/immich/cache:/cache
- ${LIBRARY_LOCATION}:/usr/src/app/upload/library
did down and then up
Error log:
[07/02/24 19:50:27] INFO Starting gunicorn 22.0.0
[07/02/24 19:50:27] INFO Listening at: http://[::]:3003 (9)
[07/02/24 19:50:27] INFO Using worker: app.config.CustomUvicornWorker
[07/02/24 19:50:27] INFO Booting worker with pid: 10
[07/02/24 19:50:38] INFO Started server process [10]
[07/02/24 19:50:38] INFO Waiting for application startup.
[07/02/24 19:50:38] INFO Created in-memory cache with unloading after 300s
of inactivity.
[07/02/24 19:50:38] INFO Initialized request thread pool with 4 threads.
[07/02/24 19:50:38] INFO Application startup complete.
[07/02/24 19:50:51] INFO Attempt #2 to load detection model 'buffalo_l' to
memory
[07/02/24 19:50:51] INFO Setting execution providers to
['CPUExecutionProvider'], in descending order of
preference
[07/02/24 19:50:53] INFO Attempt #2 to load recognition model 'buffalo_l' to
memory
[07/02/24 19:50:53] INFO Setting execution providers to
['CPUExecutionProvider'], in descending order of
preference
2024-07-02 19:51:06.264285242 [W:onnxruntime:, execution_frame.cc:879 VerifyOutputSizes] Expected shape from model of {1,512} does not match actual shape of {2,512} for output 683
2024-07-02 19:51:26.939772166 [W:onnxruntime:, execution_frame.cc:879 VerifyOutputSizes] Expected shape from model of {1,512} does not match actual shape of {4,512} for output 683
2024-07-02 19:51:41.587258111 [W:onnxruntime:, execution_frame.cc:879 VerifyOutputSizes] Expected shape from model of {1,512} does not match actual shape of {15,512} for output 683
2024-07-02 19:51:43.470866279 [W:onnxruntime:, execution_frame.cc:879 VerifyOutputSizes] Expected shape from model of {1,512} does not match actual shape of {4,512} for output 683
2024-07-02 19:51:51.199545630 [W:onnxruntime:, execution_frame.cc:879 VerifyOutputSizes] Expected shape from model of {1,512} does not match actual shape of {2,512} for output 683
...
so, it would seem that the problem is with Openvino. Anything I can do about it ?
The OpenVINO issue is being tracked in #8226.
so, it would seem that the problem is with Openvino. Anything I can do about it ? Have you solved the above problem? I have the same problem as you. Expected shape from model of {1,512} does not match actual shape of {xxxx} for output 683
Expected shape from model of {1,512} does not match actual shape of {xxxx} for output 683
I'll correct this, but it's harmless and you can ignore it for now.
The bug
After upgrading to 1.107.0 I'm getting the following error on launching a face detection job:
The OS that Immich Server is running on
Docker
Version of Immich Server
v1.107.0
Version of Immich Mobile App
Not using
Platform with the issue
Your docker-compose.yml content
Your .env content
Reproduction steps
Relevant log output
Additional information
No response