huggingface / huggingface/diffusers

How to use attention_mask and encoder_attention_mask or apply prompts to specific areas in the image?

Aperta
#11,176 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
stale
Lingua principale
Python
Stelle
34.5k
Fork
7.3k
Merge medio
3g 3h
PR unite (30g)
91

Descrizione

Hi, I'm aware of the attention_mask and encoder_attention_mask that exist in the forward function of the UNet2DConditionModel yet there are no examples on how to use this

I would appreciate some help on that, thank you in advance
@patrickvonplaten @Birch-san

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start with the UNet2DConditionModel forward function and inspect the attention_mask and encoder_attention_mask parameters mentioned in the issue. Determine what usage guidance or examples are needed for applying prompts to specific image areas; done means the supported behavior is clearly documented with a usable example.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
python, pytorch
Ambito
documentation, machine-learning
Tipo di issue
Documentazione
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.