Commit Graph
12 Commits
Author SHA1 Message Date
Acly 61fa161c34 Regions: also check if dtype matches 2024-09-12 10:17:37 +02:00
Acly c324f6741d Expand mask batch dimension if it doesn't exist 2024-06-08 09:31:29 +02:00
Acly 71bff50b0f Regions: modify conds_or_unconds to reflect the changed cond batch size
IP-adapter's attn2-replace assumes shape[0] == len(conds_or_unconds) * batch
2024-06-07 13:11:19 +02:00
Acly 86082e08e2 Add nodes: ExtractMaskTile, BackgroundRegion, ListRegionMasks 2024-06-04 18:06:18 +02:00
Acly 7c338bbd2a Fixes 2024-06-03 22:50:43 +02:00
Acly 9cdbedb92a Rename attention couple -> attention mask
create a node for defining regions rather than using list mechanism
2024-06-03 18:32:07 +02:00
Acly 41f791fa4d Attention couple: use the conditioning linked to the first region instead of replacing it with the one passed to KSampler
- KSampler conditioning text prompt is now mostly ignored, but still useful to pass controlnet etc
2024-05-29 17:42:48 +02:00
Acly 684e7d370c Attention couple: accept masks which are the same resolution as the image - they will be downsampled 2024-05-29 17:19:35 +02:00
Acly 9b3f423f45 Rename category (remove underscore) 2024-05-29 13:50:17 +02:00
Acly 72b779204b Attention couple: remove base mask parameter
- first mask is first element in the list
- first conditioning is ignored (ksampler input is used instead)
2024-05-29 13:29:30 +02:00
Acly df7ebe554f Attention couple now takes masks at factor 8 lower resolution
Also fixed issues when image size is not a multiple of 64
2024-05-29 12:53:09 +02:00
Acly 4abe5cf9ce Add Attention Couple node for regional prompt 2024-05-29 11:07:46 +02:00