TheLastBen / fast-stable-diffusion

fast-stable-diffusion + DreamBooth
MIT License
7.41k stars 1.28k forks source link

Training embeddings on SD2.1 error #939

Open nelohenriq opened 1 year ago

nelohenriq commented 1 year ago

When i try to preprocess images for embedding it returns me this error on SD2.1-768

ValueError: The following model_kwargs are not used by the model: ['encoder_hidden_states', 'encoder_attention_mask'] (note: typos in the generate arguments will also show up in this list)

TheLastBen commented 1 year ago

The issue must come for A1111 repo, look there for similar open issues https://github.com/AUTOMATIC1111/stable-diffusion-webui/

CJohnDesign commented 1 year ago

Could be the solution but not a good one - https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/1458

TheLastBen commented 1 year ago

try !pip install transformers==4.19.2

Wawaworker commented 1 year ago

!pip install transformers==4.19.2

New to colab, where do I insert this command?

CJohnDesign commented 1 year ago

!pip install transformers==4.19.2

New to colab, where do I insert this command?

You can add a new code cell, at the command and then run the cell.