Skip to content

when loading model, error raised like ValueError: size must contain 'shortest_edge' and 'longest_edge' keys. #3

@wuutiing

Description

@wuutiing
ValueError: size must contain 'shortest_edge' and 'longest_edge' keys.

related code is

https://github.com/Alpha-Innovator/OmniCaptioner/blob/4c07d277d02f326973da8d15c3625d526ed4ac82/src/inference_single_image.py#L191-L195

transformer version is 4.51.2

how to fix that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions