When trying to do inference using StableDiffusionPipeline, I get Transformers error : 'tokenizers.AddedToken' object has no attribute 'special' #6954
-
Hi! I get an error when trying to load the pretrained weights for Stable Diffusion (same issue with ControlNet). Below is my code:
And I get an error from the Transformers library:
I would really appreciate any and all help! Thank you! |
Beta Was this translation helpful? Give feedback.
Answered by
Saumya-Gupta-26
Feb 12, 2024
Replies: 1 comment
-
Looks like it was an issue with the library version. I created a fresh environment and reinstalled the libraries, and the issue was solved. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Saumya-Gupta-26
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Looks like it was an issue with the library version. I created a fresh environment and reinstalled the libraries, and the issue was solved.