update multi-id workflow and add depth workflow

This commit is contained in:
matt3o
2024-02-15 12:04:47 +01:00
parent 94d08d29e4
commit 40b86b4497
3 changed files with 2583 additions and 823 deletions
+1
View File
@@ -51,6 +51,7 @@ def draw_kps(image_pil, kps, color_list=[(255,0,0), (0,255,0), (0,0,255), (255,2
out_img_pil = PIL.Image.fromarray(out_img.astype(np.uint8))
return out_img_pil
# All this mess to keep compatibility with IPAdapter, it will be helpful in case we want AnimateDiff to work with InstantID
class CrossAttentionPatch:
# forward for patching
def __init__(self, weight, ipadapter, number, cond, uncond, weight_type="original", mask=None, sigma_start=0.0, sigma_end=1.0, unfold_batch=False):
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff