Skip to content

Size mismatch for pixel_decoder when loading v2 model #141

@CuiOrange

Description

@CuiOrange

Thank you for the great work! I am trying to use the newer unidepthv2 model(both unidepth-v2-vitl14 and unidepth-v2-vits14) but am receiving this error:

Image

Any idea what I am doing wrong? This error does not occur when running the demo script with Unidepth V1.

here is my env:

torch 2.2.0
cuda 12.4
python 3.11.14

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions