cog-comfyui
cog-comfyui copied to clipboard
Multiple images are not being returned (empty output)
See the end of the output from the workflow below, two images in the ComfyUI temp output but replicate output is nothing
Strangely, it works with multiple images on some workflows but not others, even though the same save node is used
Problem workflow:
{"3":{"inputs":{"seed":46135753,"steps":30,"cfg":7.5,"sampler_name":"dpmpp_2m","scheduler":"karras","denoise":1,"model":["18",0],"positive":["6",0],"negative":["7",0],"latent_image":["5",0]},"class_type":"KSampler","_meta":{"title":"KSampler"}},"4":{"inputs":{"ckpt_name":"leosamsHelloworldXL_helloworldXL60.safetensors"},"class_type":"CheckpointLoaderSimple","_meta":{"title":"Load Checkpoint"}},"5":{"inputs":{"width":832,"height":1248,"batch_size":2},"class_type":"EmptyLatentImage","_meta":{"title":"Empty Latent Image"}},"6":{"inputs":{"text":"photo, (black (woman)), long brown hair, casual clothes, (high quality), average body, face, facing camera","clip":["26",1]},"class_type":"CLIPTextEncode","_meta":{"title":"CLIP Text Encode (Prompt)"}},"7":{"inputs":{"text":"(nude:1.6), (naked:1.5), nsfw, (3d, render, sketch), (man:1.1, facial hair, (1boy)), nipples, vagina, pussy, topless, shirtless, large boobs, hands, phone","clip":["26",1]},"class_type":"CLIPTextEncode","_meta":{"title":"CLIP Text Encode (Prompt)"}},"8":{"inputs":{"samples":["3",0],"vae":["4",2]},"class_type":"VAEDecode","_meta":{"title":"VAE Decode"}},"9":{"inputs":{"filename_prefix":"IPAdapter","images":["25",0]},"class_type":"SaveImage","_meta":{"title":"Save Image"}},"12":{"inputs":{"image":"input.png","upload":"image"},"class_type":"LoadImage","_meta":{"title":"Load Image"}},"18":{"inputs":{"weight":1,"weight_faceidv2":1,"weight_type":"linear","combine_embeds":"concat","start_at":0,"end_at":1,"embeds_scaling":"V only","model":["20",0],"ipadapter":["20",1],"image":["12",0]},"class_type":"IPAdapterFaceID","_meta":{"title":"IPAdapter FaceID"}},"20":{"inputs":{"preset":"FACEID","lora_strength":0.6,"provider":"CPU","model":["26",0]},"class_type":"IPAdapterUnifiedLoaderFaceID","_meta":{"title":"IPAdapter Unified Loader FaceID"}},"21":{"inputs":{"enabled":true,"swap_model":"inswapper_128.onnx","facedetection":"retinaface_resnet50","face_restore_model":"GFPGANv1.4.pth","face_restore_visibility":0.65,"codeformer_weight":0.65,"detect_gender_input":"female","detect_gender_source":"female","input_faces_index":"0","source_faces_index":"0","console_log_level":1,"input_image":["8",0],"source_image":["12",0],"face_boost":["22",0]},"class_type":"ReActorFaceSwap","_meta":{"title":"ReActor \ud83c\udf0c Fast Face Swap"}},"22":{"inputs":{"enabled":true,"boost_model":"GFPGANv1.4.pth","interpolation":"Bicubic","visibility":1,"codeformer_weight":1,"restore_with_main_after":true},"class_type":"ReActorFaceBoost","_meta":{"title":"ReActor \ud83c\udf0c Face Booster"}},"23":{"inputs":{"images":["8",0]},"class_type":"PreviewImage","_meta":{"title":"Preview Image"}},"25":{"inputs":{"bbox_model_name":"bbox\/face_yolov8m.pt","bbox_threshold":0.5,"bbox_dilation":10,"bbox_crop_factor":3,"bbox_drop_size":10,"sam_model_name":"sam_vit_l_0b3195.pth","sam_dilation":0,"sam_threshold":0.93,"bbox_expansion":0,"mask_hint_threshold":0.7000000000000001,"mask_hint_use_negative":"False","morphology_operation":"dilate","morphology_distance":0,"blur_radius":9,"sigma_factor":1,"image":["8",0],"swapped_image":["21",0]},"class_type":"ReActorMaskHelper","_meta":{"title":"ReActor \ud83c\udf0c Masking Helper"}},"26":{"inputs":{"lora_name":"more_details.safetensors","strength_model":0.6,"strength_clip":0.6,"model":["4",0],"clip":["4",1]},"class_type":"LoraLoader","_meta":{"title":"Load LoRA"}}}