huggingface / huggingface/diffusers

ConsistentID: Portrait Generation with Multimodal Fine-Grained Identity Preservation

未关闭
#7,955 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
community-examples contributions-welcome stale
主要语言
Python
星标
34.5k
派生
7.3k
平均合并
3 天 3 小时
30 天内合并 PR
91

描述

### 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

贡献指南

打开贡献指南

调研方向

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.

由索引模型根据 Issue 内容生成。

评估

技术栈
python, pytorch
领域
computer-vision, machine-learning
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
20/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。