tencent-ailab / IP-Adapter

The image prompt adapter is designed to enable a pretrained text-to-image diffusion model to generate images with image prompt.
Apache License 2.0
4.46k stars 289 forks source link

repeat face embeds according to num samples to match with prompt list on portrait pipeline #373

Closed aycaecemgul closed 1 month ago

aycaecemgul commented 1 month ago

Fixes #372 , Tested on IPAdapterFaceID pipeline. Here's the test case: https://colab.research.google.com/drive/1ugZvR9iTK4Dl9tfbqTLNLQazHPYg5_h4?usp=sharing