首先从huggingface将portrait模型下载下来,将模型剪切到comfyui的models文件夹下面的ipadapter文件夹中,为了与其他ipadapter的模型做区分,我一般会在该文件夹中新建一个子文件夹,命名为“FaceID”,然后将所有的FaceID模型都放在该子文件夹中,系统也是可以识别到的! 下载 安装 工作流的逻辑其实就非常简单了,...
[2024/01/19] Add IP-Adapter-FaceID-Portrait IP-Adapter-FaceID-Portrait:与 IP-Adapter-FaceID 相同,但用于生成人像(没有 lora!没有 controlnet!)。具体来说,它接受多张面部图像来增强相似性(默认值为 …
@@ -16,6 +16,7 @@ we present IP-Adapter, an effective and lightweight adapter to achieve image pro ![arch](assets/figs/fig1.png) ## Release - [2024/01/19] 🔥 Add IP-Adapter-FaceID-Portrait, more information can be found [here](https://huggingface.co/h94/IP-Adapter-FaceID)...
self.is_portrait = "proj.2.weight" in ipadapter["image_proj"] and not "proj.3.weight" in ipadapter["image_proj"] and not "0.to_q_lora.down.weight" in ipadapter["ip_adapter"] self.is_faceid = self.is_portrait or "0.to_q_lora.down.weight" in ipadapter["ip_adapter"] ...