huchenlei / ComfyUI-layerdiffuse

Layer Diffuse custom nodes
Apache License 2.0
1.39k stars 138 forks source link

[Bug]: cannot work with ipadpater #68

Open mbt1909432 opened 4 months ago

mbt1909432 commented 4 months ago

What happened?

error message: [layer diffusion git 'Attention Sharing Unit' object has no attribute 'to_q']

3e05d6b1911f3b214dda0d661a6a1ed7

Steps to reproduce the problem

3e05d6b1911f3b214dda0d661a6a1ed7

What should have happened?

cannot work with ipadpater

Commit where the problem happens

ComfyUI: ComfyUI-layerdiffuse:

Sysinfo

RTX 4070

Console logs

Error occurred when executing KSampler:

'AttentionSharingUnit' object has no attribute 'to_q'

File "F:\comfui\ComfyUI-aki-v1.3\execution.py", line 152, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "F:\comfui\ComfyUI-aki-v1.3\execution.py", line 82, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "F:\comfui\ComfyUI-aki-v1.3\execution.py", line 75, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "F:\comfui\ComfyUI-aki-v1.3\nodes.py", line 1368, in sample
return common_ksampler(model, seed, steps, cfg, sampler_name, scheduler, positive, negative, latent_image, denoise=denoise)
File "F:\comfui\ComfyUI-aki-v1.3\nodes.py", line 1338, in common_ksampler
samples = comfy.sample.sample(model, noise, steps, cfg, sampler_name, scheduler, positive, negative, latent_image,
File "F:\comfui\ComfyUI-aki-v1.3\custom_nodes\Comfyui-StableSR\nodes.py", line 75, in hook_sample
return original_sample(*args, **kwargs)
File "F:\comfui\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-Impact-Pack\modules\impact\sample_error_enhancer.py", line 9, in informative_sample
return original_sample(*args, **kwargs) # This code helps interpret error messages that occur within exceptions but does not have any impact on other operations.
File "F:\comfui\ComfyUI-aki-v1.3\custom_nodes\ComfyUI-AnimateDiff-Evolved\animatediff\sampling.py", line 248, in motion_sample
return orig_comfy_sample(model, noise, *args, **kwargs)
File "F:\comfui\ComfyUI-aki-v1.3\comfy\sample.py", line 100, in sample
samples = sampler.sample(noise, positive_copy, negative_copy, cfg=cfg, latent_image=latent_image, start_step=start_step, last_step=last_step, force_full_denoise=force_full_denoise, denoise_mask=noise_mask, sigmas=sigmas, callback=callback, disable_pbar=disable_pbar, seed=seed)
File "F:\comfui\ComfyUI-aki-v1.3\comfy\samplers.py", line 703, in sample
return sample(self.model, noise, positive, negative, cfg, self.device, sampler, sigmas, self.model_options, latent_image=latent_image, denoise_mask=denoise_mask, callback=callback, disable_pbar=disable_pbar, seed=seed)
File "F:\comfui\ComfyUI-aki-v1.3\comfy\samplers.py", line 608, in sample
samples = sampler.sample(model_wrap, sigmas, extra_args, callback, noise, latent_image, denoise_mask, disable_pbar)
File "F:\comfui\ComfyUI-aki-v1.3\comfy\samplers.py", line 547, in sample
samples = self.sampler_function(model_k, noise, sigmas, extra_args=extra_args, callback=k_callback, disable=disable_pbar, **self.extra_options)
File "F:\comfui\ComfyUI-aki-v1.3\python\lib\site-packages\torch\utils\_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "F:\comfui\ComfyUI-aki-v1.3\comfy\k_diffusion\sampling.py", line 137, in sample_euler
denoised = model(x, sigma_hat * s_in, **extra_args)
File "F:\comfui\ComfyUI-aki-v1.3\python\lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "F:\comfui\ComfyUI-aki-v1.3\python\lib\site-packages\torch\nn\modules\module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)

Workflow json file

{ "last_node_id": 91, "last_link_id": 168, "nodes": [ { "id": 22, "type": "ImageBatch", "pos": [ -739, -539 ], "size": { "0": 210, "1": 46 }, "flags": {}, "order": 19, "mode": 0, "inputs": [ { "name": "image1", "type": "IMAGE", "link": 26, "label": "image1" }, { "name": "image2", "type": "IMAGE", "link": 27, "label": "image2" } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 35 ], "shape": 3, "label": "IMAGE", "slot_index": 0 } ], "properties": { "Node name for S&R": "ImageBatch" } }, { "id": 16, "type": "IPAdapterModelLoader", "pos": [ 532, -647 ], "size": { "0": 315, "1": 58 }, "flags": {}, "order": 0, "mode": 0, "outputs": [ { "name": "IPADAPTER", "type": "IPADAPTER", "links": [ 15 ], "shape": 3, "label": "IPADAPTER" } ], "properties": { "Node name for S&R": "IPAdapterModelLoader" }, "widgets_values": [ "ip-adapter-plus_sd15.safetensors" ] }, { "id": 17, "type": "CLIPVisionLoader", "pos": [ 362, -235 ], "size": { "0": 315, "1": 58 }, "flags": {}, "order": 1, "mode": 0, "outputs": [ { "name": "CLIP_VISION", "type": "CLIP_VISION", "links": [ 17 ], "shape": 3, "label": "CLIP_VISION" } ], "properties": { "Node name for S&R": "CLIPVisionLoader" }, "widgets_values": [ "CLIP-ViT-H-14-laion2B-s32B-b79K.safetensors" ] }, { "id": 14, "type": "LoadImage", "pos": [ -1312, -999 ], "size": { "0": 315, "1": 314 }, "flags": {}, "order": 2, "mode": 0, "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 26 ], "shape": 3, "slot_index": 0, "label": "IMAGE" }, { "name": "MASK", "type": "MASK", "links": null, "shape": 3, "label": "MASK" } ], "properties": { "Node name for S&R": "LoadImage" }, "widgets_values": [ "2b70904c14c975c8373e6094dac7a6fb.jpg", "image" ] }, { "id": 26, "type": "ImageBatch", "pos": [ -764, -251 ], "size": { "0": 210, "1": 46 }, "flags": {}, "order": 21, "mode": 0, "inputs": [ { "name": "image1", "type": "IMAGE", "link": 30, "label": "image1" }, { "name": "image2", "type": "IMAGE", "link": 31, "label": "image2" } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 33 ], "shape": 3, "label": "IMAGE", "slot_index": 0 } ], "properties": { "Node name for S&R": "ImageBatch" } }, { "id": 43, "type": "LoadImage", "pos": [ -2224, 795 ], "size": { "0": 315, "1": 314 }, "flags": {}, "order": 3, "mode": 0, "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 75 ], "shape": 3, "slot_index": 0, "label": "IMAGE" }, { "name": "MASK", "type": "MASK", "links": null, "shape": 3, "label": "MASK" } ], "properties": { "Node name for S&R": "LoadImage" }, "widgets_values": [ "00961-1804650747-(masterpiece, top quality, best quality, official art, beautiful and aesthetic_1.2),(8k, best quality, masterpiece_1.2),(((white.png", "image" ] }, { "id": 42, "type": "LoadImage", "pos": [ -2196, 403 ], "size": { "0": 315, "1": 314 }, "flags": {}, "order": 4, "mode": 0, "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 74 ], "shape": 3, "slot_index": 0, "label": "IMAGE" }, { "name": "MASK", "type": "MASK", "links": null, "shape": 3, "label": "MASK" } ], "properties": { "Node name for S&R": "LoadImage" }, "widgets_values": [ "57b59a85a0416472a750781b65abeee8.jpg", "image" ] }, { "id": 45, "type": "LoadImage", "pos": [ -2133, 1108 ], "size": { "0": 315, "1": 314 }, "flags": {}, "order": 5, "mode": 0, "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 76 ], "shape": 3, "slot_index": 0, "label": "IMAGE" }, { "name": "MASK", "type": "MASK", "links": null, "shape": 3, "label": "MASK" } ], "properties": { "Node name for S&R": "LoadImage" }, "widgets_values": [ "09276180b0da845ee79a1a7d3af5a330.jpg", "image" ] }, { "id": 47, "type": "ImageBatch", "pos": [ -1435, 1103 ], "size": { "0": 210, "1": 46 }, "flags": {}, "order": 18, "mode": 0, "inputs": [ { "name": "image1", "type": "IMAGE", "link": 76, "label": "image1" }, { "name": "image2", "type": "IMAGE", "link": 77, "label": "image2" } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 80 ], "shape": 3, "label": "IMAGE", "slot_index": 0 } ], "properties": { "Node name for S&R": "ImageBatch" } }, { "id": 24, "type": "LoadImage", "pos": [ -1814, -307 ], "size": { "0": 315, "1": 314 }, "flags": {}, "order": 6, "mode": 0, "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 30 ], "shape": 3, "slot_index": 0, "label": "IMAGE" }, { "name": "MASK", "type": "MASK", "links": null, "shape": 3, "label": "MASK" } ], "properties": { "Node name for S&R": "LoadImage" }, "widgets_values": [ "3cce5243b72745c057f3fb0383a6d721.jpg", "image" ] }, { "id": 10, "type": "ConditioningCombine", "pos": [ 635, 174 ], "size": { "0": 342.5999755859375, "1": 46 }, "flags": {}, "order": 7, "mode": 0, "inputs": [ { "name": "conditioning_1", "type": "CONDITIONING", "link": null, "label": "conditioning_1" }, { "name": "conditioning_2", "type": "CONDITIONING", "link": null, "label": "conditioning_2" } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [], "shape": 3, "label": "CONDITIONING", "slot_index": 0 } ], "properties": { "Node name for S&R": "ConditioningCombine" } }, { "id": 46, "type": "LoadImage", "pos": [ -1872, 1459 ], "size": { "0": 315, "1": 314 }, "flags": {}, "order": 8, "mode": 0, "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 77 ], "shape": 3, "slot_index": 0, "label": "IMAGE" }, { "name": "MASK", "type": "MASK", "links": null, "shape": 3, "label": "MASK" } ], "properties": { "Node name for S&R": "LoadImage" }, "widgets_values": [ "d7f0b6a2b32a48f9c711efd7fad0a872.jpg", "image" ] }, { "id": 44, "type": "ImageBatch", "pos": [ -1474, 533 ], "size": { "0": 210, "1": 46 }, "flags": {}, "order": 17, "mode": 0, "inputs": [ { "name": "image1", "type": "IMAGE", "link": 74, "label": "image1" }, { "name": "image2", "type": "IMAGE", "link": 75, "label": "image2" } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 81 ], "shape": 3, "label": "IMAGE", "slot_index": 0 } ], "properties": { "Node name for S&R": "ImageBatch" } }, { "id": 48, "type": "ImageBatch", "pos": [ -1018, 590 ], "size": { "0": 210, "1": 46 }, "flags": {}, "order": 24, "mode": 0, "inputs": [ { "name": "image1", "type": "IMAGE", "link": 81, "label": "image1" }, { "name": "image2", "type": "IMAGE", "link": 80, "label": "image2" } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [], "shape": 3, "label": "IMAGE", "slot_index": 0 } ], "properties": { "Node name for S&R": "ImageBatch" } }, { "id": 49, "type": "ImageBatch", "pos": [ -62, -304 ], "size": { "0": 210, "1": 46 }, "flags": {}, "order": 30, "mode": 0, "inputs": [ { "name": "image1", "type": "IMAGE", "link": 138, "label": "image1" }, { "name": "image2", "type": "IMAGE", "link": 84, "label": "image2" } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 85 ], "shape": 3, "label": "IMAGE", "slot_index": 0 } ], "properties": { "Node name for S&R": "ImageBatch" } }, { "id": 27, "type": "ImageBatch", "pos": [ -456, -279 ], "size": { "0": 210, "1": 46 }, "flags": {}, "order": 26, "mode": 0, "inputs": [ { "name": "image1", "type": "IMAGE", "link": 35, "label": "image1" }, { "name": "image2", "type": "IMAGE", "link": 33, "label": "image2" } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 84, 138 ], "shape": 3, "label": "IMAGE", "slot_index": 0 } ], "properties": { "Node name for S&R": "ImageBatch" } }, { "id": 18, "type": "LoadImage", "pos": [ -1522, -650 ], "size": { "0": 315, "1": 314 }, "flags": {}, "order": 9, "mode": 0, "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 27 ], "shape": 3, "slot_index": 0, "label": "IMAGE" }, { "name": "MASK", "type": "MASK", "links": null, "shape": 3, "label": "MASK" } ], "properties": { "Node name for S&R": "LoadImage" }, "widgets_values": [ "97c5972b6ed5e3d3a115cf787ed47b66 (4).png", "image" ] }, { "id": 55, "type": "LoraLoader|pysssss", "pos": [ -420, 202 ], "size": { "0": 210, "1": 150 }, "flags": {}, "order": 25, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 97, "label": "model" }, { "name": "clip", "type": "CLIP", "link": 98, "label": "clip" } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 99 ], "shape": 3, "label": "MODEL" }, { "name": "CLIP", "type": "CLIP", "links": [ 101, 102 ], "shape": 3, "label": "CLIP" } ], "properties": { "Node name for S&R": "LoraLoader|pysssss" }, "widgets_values": [ { "content": "game icon institute_kuijia.safetensors", "image": "loras/game icon institute_kuijia.png" }, 0.7000000000000001, 1, "[none]" ] }, { "id": 20, "type": "LoraLoader|pysssss", "pos": [ -757, 187 ], "size": { "0": 210, "1": 150 }, "flags": {}, "order": 20, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 20, "label": "model" }, { "name": "clip", "type": "CLIP", "link": 21, "label": "clip" } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 97 ], "shape": 3, "label": "MODEL", "slot_index": 0 }, { "name": "CLIP", "type": "CLIP", "links": [ 98 ], "shape": 3, "label": "CLIP" } ], "properties": { "Node name for S&R": "LoraLoader|pysssss" }, "widgets_values": [ { "content": "Chinese_dragon IP.safetensors", "image": null }, 0.2, 1, "[none]" ] }, { "id": 4, "type": "CheckpointLoaderSimple", "pos": [ -1122, 206 ], "size": { "0": 315, "1": 98 }, "flags": {}, "order": 10, "mode": 0, "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 20 ], "slot_index": 0, "label": "MODEL" }, { "name": "CLIP", "type": "CLIP", "links": [ 21 ], "slot_index": 1, "label": "CLIP" }, { "name": "VAE", "type": "VAE", "links": [ 56 ], "slot_index": 2, "label": "VAE" } ], "properties": { "Node name for S&R": "CheckpointLoaderSimple" }, "widgets_values": [ "gameIconInstitute_v40.safetensors" ] }, { "id": 7, "type": "CLIPTextEncode", "pos": [ -217, 510 ], "size": { "0": 425.27801513671875, "1": 180.6060791015625 }, "flags": {}, "order": 28, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 101, "label": "clip" } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 6 ], "slot_index": 0, "label": "CONDITIONING" } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "(easynegative:0.8),black, dark,Low resolution,white" ] }, { "id": 35, "type": "VAEEncode", "pos": [ 854, 903 ], "size": { "0": 210, "1": 46 }, "flags": {}, "order": 22, "mode": 0, "inputs": [ { "name": "pixels", "type": "IMAGE", "link": 54, "label": "pixels" }, { "name": "vae", "type": "VAE", "link": 56, "label": "vae" } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 155 ], "shape": 3, "label": "LATENT", "slot_index": 0 } ], "properties": { "Node name for S&R": "VAEEncode" } }, { "id": 28, "type": "RescaleCFG", "pos": [ 1205, -82 ], "size": { "0": 315, "1": 58 }, "flags": {}, "order": 33, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 41, "label": "model" } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 163 ], "shape": 3, "label": "MODEL", "slot_index": 0 } ], "properties": { "Node name for S&R": "RescaleCFG" }, "widgets_values": [ 0 ] }, { "id": 29, "type": "IPAdapterNoise", "pos": [ 610, -140 ], "size": { "0": 315, "1": 106 }, "flags": {}, "order": 11, "mode": 0, "inputs": [ { "name": "image_optional", "type": "IMAGE", "link": null, "label": "image_optional" } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 44 ], "shape": 3, "label": "IMAGE", "slot_index": 0 } ], "properties": { "Node name for S&R": "IPAdapterNoise" }, "widgets_values": [ "fade", 0.2, 0 ] }, { "id": 33, "type": "ControlNetLoader", "pos": [ 98, 846 ], "size": { "0": 315, "1": 58 }, "flags": {}, "order": 12, "mode": 0, "outputs": [ { "name": "CONTROL_NET", "type": "CONTROL_NET", "links": [ 50 ], "shape": 3, "label": "CONTROL_NET", "slot_index": 0 } ], "properties": { "Node name for S&R": "ControlNetLoader" }, "widgets_values": [ "control_v11p_sd15_softedge_fp16.safetensors" ] }, { "id": 87, "type": "CannyEdgePreprocessor", "pos": [ 180, 1026 ], "size": { "0": 315, "1": 106 }, "flags": {}, "order": 23, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 159, "label": "image" } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 160, 161 ], "shape": 3, "label": "IMAGE", "slot_index": 0 } ], "properties": { "Node name for S&R": "CannyEdgePreprocessor" }, "widgets_values": [ 100, 200, 512 ] }, { "id": 31, "type": "ControlNetApply", "pos": [ 899, 339 ], "size": { "0": 317.4000244140625, "1": 98 }, "flags": {}, "order": 31, "mode": 0, "inputs": [ { "name": "conditioning", "type": "CONDITIONING", "link": 47, "label": "conditioning" }, { "name": "control_net", "type": "CONTROL_NET", "link": 50, "label": "control_net", "slot_index": 1 }, { "name": "image", "type": "IMAGE", "link": 161, "label": "image", "slot_index": 2 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 162 ], "shape": 3, "label": "CONDITIONING", "slot_index": 0 } ], "properties": { "Node name for S&R": "ControlNetApply" }, "widgets_values": [ 1 ] }, { "id": 11, "type": "CLIPTextEncode", "pos": [ 281, 309 ], "size": { "0": 422.84503173828125, "1": 164.31304931640625 }, "flags": {}, "order": 29, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 102, "label": "clip" } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 47 ], "slot_index": 0, "label": "CONDITIONING" } ], "properties": { "Node name for S&R": "CLIPTextEncode" }, "widgets_values": [ "game icon institute, game icon, red armor, no humans, " ] }, { "id": 53, "type": "VAELoader", "pos": [ 2153, 774 ], "size": { "0": 315, "1": 58 }, "flags": {}, "order": 13, "mode": 0, "outputs": [ { "name": "VAE", "type": "VAE", "links": [ 92 ], "shape": 3, "label": "VAE", "slot_index": 0 } ], "properties": { "Node name for S&R": "VAELoader" }, "widgets_values": [ "animevae.pt" ] }, { "id": 54, "type": "EmptyLatentImage", "pos": [ 1849, 89 ], "size": { "0": 315, "1": 106 }, "flags": {}, "order": 14, "mode": 0, "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [], "shape": 3, "label": "LATENT", "slot_index": 0 } ], "properties": { "Node name for S&R": "EmptyLatentImage" }, "widgets_values": [ 512, 512, 5 ] }, { "id": 25, "type": "LoadImage", "pos": [ -1630, 110 ], "size": { "0": 315, "1": 314 }, "flags": {}, "order": 15, "mode": 0, "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 31 ], "shape": 3, "slot_index": 0, "label": "IMAGE" }, { "name": "MASK", "type": "MASK", "links": null, "shape": 3, "label": "MASK" } ], "properties": { "Node name for S&R": "LoadImage" }, "widgets_values": [ "97c5972b6ed5e3d3a115cf787ed47b66 (1).png", "image" ] }, { "id": 15, "type": "IPAdapterAdvanced", "pos": [ 980, 508 ], "size": { "0": 315, "1": 278 }, "flags": {}, "order": 32, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 99, "label": "model" }, { "name": "ipadapter", "type": "IPADAPTER", "link": 15, "slot_index": 1, "label": "ipadapter" }, { "name": "image", "type": "IMAGE", "link": 85, "label": "image" }, { "name": "image_negative", "type": "IMAGE", "link": 44, "label": "image_negative", "slot_index": 3 }, { "name": "attn_mask", "type": "MASK", "link": null, "label": "attn_mask" }, { "name": "clip_vision", "type": "CLIP_VISION", "link": 17, "slot_index": 5, "label": "clip_vision" } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 41 ], "shape": 3, "slot_index": 0, "label": "MODEL" } ], "properties": { "Node name for S&R": "IPAdapterAdvanced" }, "widgets_values": [ 0.46, "ease in", "norm average", 0, 0.6, "K+V w/ C penalty" ] }, { "id": 32, "type": "LoadImage", "pos": [ -375, 1176 ], "size": { "0": 315, "1": 314 }, "flags": { "collapsed": false }, "order": 16, "mode": 0, "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 54, 159 ], "shape": 3, "label": "IMAGE", "slot_index": 0 }, { "name": "MASK", "type": "MASK", "links": null, "shape": 3, "label": "MASK", "slot_index": 1 } ], "properties": { "Node name for S&R": "LoadImage" }, "widgets_values": [ "test2 (2).png", "image" ] }, { "id": 88, "type": "LayeredDiffusionApply", "pos": [ 1388, 282 ], "size": { "0": 315, "1": 82 }, "flags": {}, "order": 34, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 163, "label": "model" } ], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 164 ], "shape": 3, "label": "MODEL" } ], "properties": { "Node name for S&R": "LayeredDiffusionApply" }, "widgets_values": [ "SD15, Attention Injection, attn_sharing", 1 ] }, { "id": 72, "type": "SaveImage", "pos": [ 1111, 1304 ], "size": { "0": 315, "1": 270 }, "flags": {}, "order": 37, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 126, "label": "images" } ], "properties": {}, "widgets_values": [ "ComfyUI" ] }, { "id": 8, "type": "VAEDecode", "pos": [ 2056, 551 ], "size": { "0": 210, "1": 46 }, "flags": {}, "order": 36, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 68, "label": "samples" }, { "name": "vae", "type": "VAE", "link": 92, "label": "vae" } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 126, 165 ], "slot_index": 0, "label": "IMAGE" } ], "properties": { "Node name for S&R": "VAEDecode" } }, { "id": 3, "type": "KSampler", "pos": [ 1582, 558 ], "size": { "0": 315, "1": 474.0000305175781 }, "flags": {}, "order": 35, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 164, "label": "model" }, { "name": "positive", "type": "CONDITIONING", "link": 162, "label": "positive" }, { "name": "negative", "type": "CONDITIONING", "link": 6, "label": "negative" }, { "name": "latent_image", "type": "LATENT", "link": 155, "label": "latent_image", "slot_index": 3 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 68, 166 ], "slot_index": 0, "label": "LATENT" } ], "properties": { "Node name for S&R": "KSampler" }, "widgets_values": [ 651404235118762, "fixed", 25, 7, "euler", "karras", 0.7000000000000001 ] }, { "id": 91, "type": "SaveImage", "pos": [ 1998, 1354 ], "size": { "0": 315, "1": 58 }, "flags": {}, "order": 39, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 168, "label": "images" } ], "properties": {}, "widgets_values": [ "ComfyUI" ] }, { "id": 89, "type": "LayeredDiffusionDecode", "pos": [ 1577, 1339 ], "size": { "0": 315, "1": 102 }, "flags": {}, "order": 38, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 166, "label": "samples" }, { "name": "images", "type": "IMAGE", "link": 165, "label": "images" } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 168 ], "shape": 3, "label": "IMAGE", "slot_index": 0 }, { "name": "MASK", "type": "MASK", "links": null, "shape": 3, "label": "MASK" } ], "properties": { "Node name for S&R": "LayeredDiffusionDecode" }, "widgets_values": [ "SD15", 16 ] }, { "id": 41, "type": "PreviewImage", "pos": [ 638, 1106 ], "size": { "0": 210, "1": 246 }, "flags": {}, "order": 27, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 160, "label": "images", "slot_index": 0 } ], "properties": { "Node name for S&R": "PreviewImage" } } ], "links": [ [ 6, 7, 0, 3, 2, "CONDITIONING" ], [ 15, 16, 0, 15, 1, "IPADAPTER" ], [ 17, 17, 0, 15, 5, "CLIP_VISION" ], [ 20, 4, 0, 20, 0, "MODEL" ], [ 21, 4, 1, 20, 1, "CLIP" ], [ 26, 14, 0, 22, 0, "IMAGE" ], [ 27, 18, 0, 22, 1, "IMAGE" ], [ 30, 24, 0, 26, 0, "IMAGE" ], [ 31, 25, 0, 26, 1, "IMAGE" ], [ 33, 26, 0, 27, 1, "IMAGE" ], [ 35, 22, 0, 27, 0, "IMAGE" ], [ 41, 15, 0, 28, 0, "MODEL" ], [ 44, 29, 0, 15, 3, "IMAGE" ], [ 47, 11, 0, 31, 0, "CONDITIONING" ], [ 50, 33, 0, 31, 1, "CONTROL_NET" ], [ 54, 32, 0, 35, 0, "IMAGE" ], [ 56, 4, 2, 35, 1, "VAE" ], [ 68, 3, 0, 8, 0, "LATENT" ], [ 74, 42, 0, 44, 0, "IMAGE" ], [ 75, 43, 0, 44, 1, "IMAGE" ], [ 76, 45, 0, 47, 0, "IMAGE" ], [ 77, 46, 0, 47, 1, "IMAGE" ], [ 80, 47, 0, 48, 1, "IMAGE" ], [ 81, 44, 0, 48, 0, "IMAGE" ], [ 84, 27, 0, 49, 1, "IMAGE" ], [ 85, 49, 0, 15, 2, "IMAGE" ], [ 92, 53, 0, 8, 1, "VAE" ], [ 97, 20, 0, 55, 0, "MODEL" ], [ 98, 20, 1, 55, 1, "CLIP" ], [ 99, 55, 0, 15, 0, "MODEL" ], [ 101, 55, 1, 7, 0, "CLIP" ], [ 102, 55, 1, 11, 0, "CLIP" ], [ 126, 8, 0, 72, 0, "IMAGE" ], [ 138, 27, 0, 49, 0, "IMAGE" ], [ 155, 35, 0, 3, 3, "LATENT" ], [ 159, 32, 0, 87, 0, "IMAGE" ], [ 160, 87, 0, 41, 0, "IMAGE" ], [ 161, 87, 0, 31, 2, "IMAGE" ], [ 162, 31, 0, 3, 1, "CONDITIONING" ], [ 163, 28, 0, 88, 0, "MODEL" ], [ 164, 88, 0, 3, 0, "MODEL" ], [ 165, 8, 0, 89, 1, "IMAGE" ], [ 166, 3, 0, 89, 0, "LATENT" ], [ 168, 89, 0, 91, 0, "IMAGE" ] ], "groups": [], "config": {}, "extra": {}, "version": 0.4 }

Additional information

No response

duiduistillfight commented 4 months ago

i have the same problem.