↓ 1 callersFunctiondraw_kps(image_pil, kps, color_list=[(255,0,0), (0,255,0), (0,0,255), (255,255,0), (255,0,255)])
InstantID.py:31
Methodapply_controlnet(self, face_embeds, control_net, image_kps, positive, negative, strength, start_at, end_at, mask=None)
InstantID.py:542
Methodapply_instantid(self, instantid, insightface, control_net, image, model, positive, negative, start_at, end_at, weight=.8, ip_
InstantID.py:281
Functioninstantid_attention(out, q, k, v, extra_options, module_key='', ipadapter=None, weight=1.0, cond=None, cond_alt=None, uncond=None
CrossAttentionPatch.py:30
Methodpatch_attention(self, instantid, insightface, image, model, weight, start_at, end_at, noise=0.0, mask=None)
InstantID.py:448