Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The checkpoint you are trying to load has model type florence2 but Transformers does not recognize this architecture. This could be because of an issue with the checkpoint, or because your version of Transformers is out of date. #76

Open
margo2130 opened this issue Sep 28, 2024 · 4 comments

Comments

@margo2130
Copy link

margo2130 commented Sep 28, 2024

HI, I GET THIS ERROR WHEN I WANT TO USE Florence 2 large promptgen
The checkpoint you are trying to load has model type florence2 but Transformers does not recognize this architecture. This could be because of an issue with the checkpoint, or because your version of Transformers is out of date.
also i get this error:
This modeling file requires the following packages that were not found in your environment: timm. Run pip install timm
what should i do?
my workflow:
Prompt Image.json

@HimashaHerath
Copy link

I got the same error any solution ?

@freshwind-bit
Copy link

freshwind-bit commented Oct 1, 2024

The same error for Promptgen models v1.5
Maybe the solution is similar to this:
chflame163/ComfyUI_LayerStyle#320 (comment)

@askmyteapot
Copy link

#79 (comment)
Try this for the v1.5 finetune model

@freshwind-bit
Copy link

Added there: #79 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants