huggingface / huggingface/diffusers

ConsistentID: Portrait Generation with Multimodal Fine-Grained Identity Preservation

Aperta
#7,955 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
community-examples contributions-welcome stale
Lingua principale
Python
Stelle
34.5k
Fork
7.3k
Merge medio
3g 3h
PR unite (30g)
91

Descrizione

### Model/Pipeline/Scheduler description

Existing methods for facial identity transfer for diffusion denoising image generation models face challenges in achieving high fidelity and detailed identity (ID) consistency, primarily due to insufficient fine-grained control over facial areas and the lack of a comprehensive strategy for ID preservation by fully considering intricate facial details. To address these limitations, the authors introduce ConsistentID, an innovative method crafted for diverse identity-preserving portrait generation under fine-grained multimodal facial prompts, utilizing only a single reference image.

ConsistentID is comprised of three key components:
- A fine-tuned IP-Adapter-FaceID-Plus module to capture the overall facial context from the reference image.
- Expanded textual descriptions of generated from the reference face image using LLAVA 1.5 to further refine facial features.
- An ID-preservation network injecting Perceiver-remapped CLIP embeddings of separated facial regions into the embeddings of the expanded text prompt, optimized through the facial attention localization strategy aimed at preserving ID consistency in facial regions.

Together, these components significantly enhance the accuracy of ID preservation by introducing fine-grained multimodal ID information from facial regions.

### Open source status

- [X] The model implementation is available.
- [X] The model weights are available (Only relevant if addition is not a scheduler).

### Provide useful links for the implementation

Arxiv: https://arxiv.org/pdf/2404.16771
Github: https://github.com/JackAILab/ConsistentID
Contact: @jackailab

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start by reading the linked ConsistentID paper and inspecting the linked GitHub implementation to understand the model components and required weights. Compare its integration needs with the existing Diffusers model and pipeline conventions; done means the method is available through Diffusers with its documented weights and behavior covered by appropriate validation.

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

Valutazione

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

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.