sd_civitai_extension icon indicating copy to clipboard operation
sd_civitai_extension copied to clipboard

Extension messes up Lora used during generation with unpublished ones

Open zethriller opened this issue 1 year ago • 0 comments

Bug summary: Exact same generatiion parameters, on the same machine, may result in different images under certain conditions.

How to reproduce:

  • Make sure the extension is enabled, then generate a first image using a lora that is not published on CivitAI. (image 1)
  • Generate another image with a lora that is published. (image 2)
  • Regenerate image 1 with the same settings (i use prompt history for this): result differs and i can tell traits do match image 2, when they should absolutely not.

Image 1 settings (blanks added for clarity) This lora is local only.

Pretty female scuba diver swimming underwater, exploring an ancient ship wreckage, ultra detailed, ((full body diving suit)), gloves, sharp focus, crystal clear, masterpiece, (1girl), (alone), ((underwater)), weight belt, ((lama scuba helmet)), (diving watch), (((deep sea dive))), ocean abyss, dim blue lighting, caustic effects, ((perfect anatomy)), ((perfectly drawn face)), ((perfectly drawn hands)), ((perfectly drawn eyes)), (black fins), anime still, fish school, [fish], (coral reef), alguae, <lora:lama_scuba_helmet_rev2-10:0.825>

Negative prompt: easynegative, negative_hand-neg, NG_DeepNegative_V1_75T, (((amputation))), average, bad, ((bad art)), ((bad_anatomy)), bad_hands, bad_perspective, bad_proportions, bad_quality, badly_drawn, blur, blurry, body out of frame, boring, broken_finger, canvas frame, censored, claw, claws, cloned face, cross-eye, deformation, ((deformed)), ((description)), disconnected, disconnected limbs, ((disfigured)), disgusting, distorted hands, distortion, double hands, doubled face, dull, ((duplicate)), elves_ears, error, extra_arm, extra_digit, extra_feet, extra_finger, extra_leg, extra_limbs, fault, fewer_digits, ((floating limbs)), ((frame)), fused_feet, fused_fingers, fused_limbs, gross proportions, grayscale, ((inaccurate body)), jpeg_artifacts, jpg_artifacts, ((logo)), long_feet, long_hand, long_neck, low_detail, low_quality, low_resolution, lowres, malfomed arms, malformed hands, malformed legs, (malformed limbs), mediocre, misplaced, missing_arm, missing_feet, missing_finger, missing_hand, missing_leg, missing_limbs, ((morbid)), (((mutated))), mutated hands, ((((mutated hands and fingers)))), mutated_hand, ((mutation)), ((mutilated)), no_detail, no_quality, no_resolution, noise, nonsense, normal_detail, normal_resolution, obese, out_of_frame, overlay logo, ((poorly drawn eyes)), ((poorly drawn face)), ((poorly drawn feet)), ((poorly drawn hands)), ((poorly drawn mouth)), poorly_drawn, random, rushed, scribble, (((signature))), (swapped feet and hands), ((text)), ((title)), (too many fingers), ugly, unfinished, uninteresting, watermark, watermarked, wrong, ((3girls)), ((multiple girls)), 1boy, lens flares, cape, coat, ((moon)), ((nipples)), ((heels)), ((heterochromia)), (((make-up))), ((blush)), ((blushing)), (doll), (doll face), skin spots, acnes, skin blemishes, age spot, double navel, scar, (muted arms), ((hused arms)), ((hused legs)), ((wings)), ((antenna)), ((big breasts)), (elf ears), (pointy ears), (red eyes), (selfie), ((catgirl)), (((water bubbles))), (((foam))), (((water splashes))), ((jellyfish)), silhouette, ((water surface)), ((window frame)), ((water waves)), ((water ripples)), grainy background

Steps: 20, Sampler: Euler a, CFG scale: 7, Seed: 2085489318, Size: 512x768, Model hash: e3edb8a26f, Model: ghostmix_v20Bakedvae, Denoising strength: 0.3, Hires upscale: 2.5, Hires steps: 10, Hires upscaler: 4xUltrasharp_4xUltrasharpV10, Lora hashes: "lama_scuba_helmet_rev2-10: 62130b1bfab1", TI hashes: "easynegative: c74b4e810b03, negative_hand-neg: 73b524a2da12, ng_deepnegative_v1_75t: 54e7e4826d53", Version: v1.5.1, Hashes: {"vae": "735e4c3a44", "embed:easynegative": "c74b4e810b", "embed:negative_hand-neg": "73b524a2da", "embed:ng_deepnegative_v1_75t": "54e7e4826d", "lora:lama_scuba_helmet_rev2-10": "12459e617e"}

Render: 00016-2085489318

Image 2 settings This lora is published (https://civitai.com/models/128663)

Yoko Tsuno, white and purple bodysuit, inside a lava processing facility, on a catwalk, white bodysuit, black eyes, red hairband, ((bow \(weapon\))), ((aiming)), ((((BowAiming)))), 1girl, solo, (alone), orange rim lighting, high contrast, heavy shadows, ultra high res, ultra detailed, masterpiece, crystal clear, sharp focus, traditional media, 1990s \(style\), futuristic, science fiction, retro artstyle, <lora:yoko_tsuno-10:0.9>, <lyco:UnlimitedBladeWorks1.6:0.9>

Negative prompt: easynegative, negative_hand-neg, NG_DeepNegative_V1_75T, (((amputation))), average, bad, ((bad art)), ((bad_anatomy)), bad_hands, bad_perspective, bad_proportions, bad_quality, badly_drawn, blur, blurry, body out of frame, boring, broken_finger, canvas frame, censored, claw, claws, cloned face, cross-eye, deformation, ((deformed)), ((description)), disconnected, disconnected limbs, ((disfigured)), disgusting, distorted hands, distortion, double hands, doubled face, dull, ((duplicate)), elves_ears, error, extra_arm, extra_digit, extra_feet, extra_finger, extra_leg, extra_limbs, fault, fewer_digits, ((floating limbs)), ((frame)), fused_feet, fused_fingers, fused_limbs, gross proportions, grayscale, ((inaccurate body)), jpeg_artifacts, jpg_artifacts, ((logo)), long_feet, long_hand, long_neck, low_detail, low_quality, low_resolution, lowres, malfomed arms, malformed hands, malformed legs, (malformed limbs), mediocre, misplaced, missing_arm, missing_feet, missing_finger, missing_hand, missing_leg, missing_limbs, ((morbid)), (((mutated))), mutated hands, ((((mutated hands and fingers)))), mutated_hand, ((mutation)), ((mutilated)), no_detail, no_quality, no_resolution, noise, nonsense, normal_detail, normal_resolution, obese, out_of_frame, overlay logo, ((poorly drawn eyes)), ((poorly drawn face)), ((poorly drawn feet)), ((poorly drawn hands)), ((poorly drawn mouth)), poorly_drawn, random, rushed, scribble, (((signature))), (swapped feet and hands), ((text)), ((title)), (too many fingers), ugly, unfinished, uninteresting, watermark, watermarked, wrong, lens flares, ((nipples)), ((heterochromia)), (((make-up))), ((blush)), ((blushing)), (doll), (doll face), skin spots, acnes, skin blemishes, age spot, double navel, scar, (muted arms), ((hused arms)), ((hused legs)), ((wings)), ((antenna)), ((big breasts)), (elf ears), (pointy ears), (red eyes), (selfie), ((catgirl)), silhouette, ((window frame)), grainy background

Steps: 30, Sampler: Euler a, CFG scale: 7, Seed: 3797082024, Face restoration: CodeFormer, Size: 768x512, Model hash: e3edb8a26f, Model: ghostmix_v20Bakedvae, Denoising strength: 0.3, Clip skip: 2, ADetailer model: face_yolov8n.pt, ADetailer confidence: 0.25, ADetailer dilate/erode: 4, ADetailer mask blur: 4, ADetailer denoising strength: 0.4, ADetailer inpaint only masked: True, ADetailer inpaint padding: 32, ADetailer version: 23.8.0, Hires upscale: 1.25, Hires steps: 10, Hires upscaler: 4xUltrasharp_4xUltrasharpV10, Lora hashes: "yoko_tsuno-10: 68262ae76e57", TI hashes: "easynegative: c74b4e810b03, negative_hand-neg: 73b524a2da12, ng_deepnegative_v1_75t: 54e7e4826d53", Version: v1.5.1, Hashes: {"vae": "735e4c3a44", "embed:easynegative": "c74b4e810b", "embed:negative_hand-neg": "73b524a2da", "embed:ng_deepnegative_v1_75t": "54e7e4826d", "lora:yoko_tsuno-10": "87118871b8"}

Render: 00017-3797082024

Side bug: Lyco aren't embedded among hashes.

Image 3 settings:

Pretty female scuba diver swimming underwater, exploring an ancient ship wreckage, ultra detailed, ((full body diving suit)), gloves, sharp focus, crystal clear, masterpiece, (1girl), (alone), ((underwater)), weight belt, ((lama scuba helmet)), (diving watch), (((deep sea dive))), ocean abyss, dim blue lighting, caustic effects, ((perfect anatomy)), ((perfectly drawn face)), ((perfectly drawn hands)), ((perfectly drawn eyes)), (black fins), anime still, fish school, [fish], (coral reef), alguae, <lora:lama_scuba_helmet_rev2-10:0.825>

Negative prompt: easynegative, negative_hand-neg, NG_DeepNegative_V1_75T, (((amputation))), average, bad, ((bad art)), ((bad_anatomy)), bad_hands, bad_perspective, bad_proportions, bad_quality, badly_drawn, blur, blurry, body out of frame, boring, broken_finger, canvas frame, censored, claw, claws, cloned face, cross-eye, deformation, ((deformed)), ((description)), disconnected, disconnected limbs, ((disfigured)), disgusting, distorted hands, distortion, double hands, doubled face, dull, ((duplicate)), elves_ears, error, extra_arm, extra_digit, extra_feet, extra_finger, extra_leg, extra_limbs, fault, fewer_digits, ((floating limbs)), ((frame)), fused_feet, fused_fingers, fused_limbs, gross proportions, grayscale, ((inaccurate body)), jpeg_artifacts, jpg_artifacts, ((logo)), long_feet, long_hand, long_neck, low_detail, low_quality, low_resolution, lowres, malfomed arms, malformed hands, malformed legs, (malformed limbs), mediocre, misplaced, missing_arm, missing_feet, missing_finger, missing_hand, missing_leg, missing_limbs, ((morbid)), (((mutated))), mutated hands, ((((mutated hands and fingers)))), mutated_hand, ((mutation)), ((mutilated)), no_detail, no_quality, no_resolution, noise, nonsense, normal_detail, normal_resolution, obese, out_of_frame, overlay logo, ((poorly drawn eyes)), ((poorly drawn face)), ((poorly drawn feet)), ((poorly drawn hands)), ((poorly drawn mouth)), poorly_drawn, random, rushed, scribble, (((signature))), (swapped feet and hands), ((text)), ((title)), (too many fingers), ugly, unfinished, uninteresting, watermark, watermarked, wrong, ((3girls)), ((multiple girls)), 1boy, lens flares, cape, coat, ((moon)), ((nipples)), ((heels)), ((heterochromia)), (((make-up))), ((blush)), ((blushing)), (doll), (doll face), skin spots, acnes, skin blemishes, age spot, double navel, scar, (muted arms), ((hused arms)), ((hused legs)), ((wings)), ((antenna)), ((big breasts)), (elf ears), (pointy ears), (red eyes), (selfie), ((catgirl)), (((water bubbles))), (((foam))), (((water splashes))), ((jellyfish)), silhouette, ((water surface)), ((window frame)), ((water waves)), ((water ripples)), grainy background

Steps: 20, Sampler: Euler a, CFG scale: 7, Seed: 2085489318, Face restoration: CodeFormer, Size: 512x768, Model hash: e3edb8a26f, Model: ghostmix_v20Bakedvae, Denoising strength: 0.3, ADetailer model: face_yolov8n.pt, ADetailer confidence: 0.25, ADetailer dilate/erode: 4, ADetailer mask blur: 4, ADetailer denoising strength: 0.4, ADetailer inpaint only masked: True, ADetailer inpaint padding: 32, ADetailer version: 23.8.0, Hires upscale: 2.5, Hires steps: 10, Hires upscaler: 4xUltrasharp_4xUltrasharpV10, Lora hashes: "lama_scuba_helmet_rev2-10: 62130b1bfab1", TI hashes: "easynegative: c74b4e810b03, negative_hand-neg: 73b524a2da12, ng_deepnegative_v1_75t: 54e7e4826d53", Version: v1.5.1, Hashes: {"vae": "735e4c3a44", "embed:easynegative": "c74b4e810b", "embed:negative_hand-neg": "73b524a2da", "embed:ng_deepnegative_v1_75t": "54e7e4826d", "lora:lama_scuba_helmet_rev2-10": "12459e617e"}

Render: 00018-2085489318


Extra testing: Disable extension again, then regenerate image 1 again. Result: same as image 1 (expected behavior)

Render: 00019-2085489318

zethriller avatar Aug 16 '23 04:08 zethriller