Giter VIP home page Giter VIP logo

Comments (8)

mertalev avatar mertalev commented on August 28, 2024 1

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.

from immich.

alextran1502 avatar alextran1502 commented on August 28, 2024

Can you try docker compose down and docker compose up then try again?

from immich.

rui-nar avatar rui-nar commented on August 28, 2024

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.

from immich.

alextran1502 avatar alextran1502 commented on August 28, 2024

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

image

from immich.

rui-nar avatar rui-nar commented on August 28, 2024

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
...

from immich.

rui-nar avatar rui-nar commented on August 28, 2024

so, it would seem that the problem is with Openvino. Anything I can do about it ?

from immich.

mertalev avatar mertalev commented on August 28, 2024

The OpenVINO issue is being tracked in #8226.

from immich.

vivibro avatar vivibro commented on August 28, 2024

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

from immich.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.