fast-stable-diffusion icon indicating copy to clipboard operation
fast-stable-diffusion copied to clipboard

Training embeddings on SD2.1 error

Open nelohenriq opened this issue 2 years ago • 1 comments
trafficstars

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)

nelohenriq avatar Dec 09 '22 11:12 nelohenriq

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

TheLastBen avatar Dec 09 '22 12:12 TheLastBen

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

CJohnDesign avatar Dec 22 '22 05:12 CJohnDesign

try !pip install transformers==4.19.2

TheLastBen avatar Dec 22 '22 11:12 TheLastBen

!pip install transformers==4.19.2

New to colab, where do I insert this command?

Wawaworker avatar Jan 04 '23 17:01 Wawaworker

!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.

CJohnDesign avatar Jan 04 '23 18:01 CJohnDesign