Skip to content

Florence2ForConditionalGeneration not found in any transformers version #77

Description

@elmailutil-tech

Hi, I'm getting this error when trying to run the app on Windows:
ImportError: cannot import name 'Florence2ForConditionalGeneration' from 'transformers'
I've tried transformers versions 4.44.2, 4.48.3, 4.49.0, 4.50.0 and none of them include Florence2 in the models folder. The folder is always empty for florence.
What is the correct transformers version that includes Florence2ForConditionalGeneration?
Windows 10/11, Python 3.12.7

Thanks in advance

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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