Guide Installing Stable Diffusion Webui & Nudifying (Inpainting) Guide

  • Welcome to the Fakes / AI / Deepfakes category
    When posting AI generated content please include prompts used where possible.

j4dh

Bathwater Drinker
Mar 14, 2022
20
4,319
1,237
0fya082315al84db03fa9bf467e3.png
Just a general tip on errors, install, and troubleshooting: I use warp instead of terminal which has a number of smart features and AI to help diagnose things. Or if things are a bit trickier I use chatgpt for errors or writing new code to customize something.
 

twiz42o

Superfan
Mar 13, 2022
24
577
737
0fya082315al84db03fa9bf467e3.png
Getting this error while trying to generate images. I can see the images being generated but when the process is finished, the image never shows up. Any help would be appreciated.

OSError: [WinError 123] The filename, directory name, or volume label syntax is incorrect: 'outputs\\txt2img-grids\\2023-05-20\\grid-0002.png?1684532483.707854'
 

Spawn2

Tier 3 Sub
Mar 18, 2022
12
404
607
0fya082315al84db03fa9bf467e3.png
Hi, I did this for the first time. However, I have no information. Because I am dealing with an IP address, is there a security leak or can this work be found somehow? Is it safe to run these operations from my host?
 

Durk Dewdly

Tier 3 Sub
Apr 5, 2023
25
472
607
0fya082315al84db03fa9bf467e3.png
Please, Log in or Register to view quotes
SOLVED IT: added the following to my webui-user.bat

set COMMANDLINE_ARGS= --medvram --autolaunch --opt-sub-quad-attention --opt-split-attention-v1 --no-half-vae --precision full --no-half --disable-nan-check

works like a charm now. Previously was getting:

Please, Log in or Register to see links and images


Please, Log in or Register to see links and images
 
Last edited:

bdude0448

Tier 1 Sub
Jan 12, 2022
9
109
434
0fya082315al84db03fa9bf467e3.png
Running out of vRAM to generate larger images because my GPU is underpowered. Getting this error frequently:

OutOfMemoryError: CUDA out of memory. Tried to allocate XXX.XX MiB (GPU 0; 4.00 GiB total capacity; 2.42 GiB already allocated; 3.08 MiB free; 2.43 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF

Is there a way to solve this before I start overclocking my GPU?
 

bdude0448

Tier 1 Sub
Jan 12, 2022
9
109
434
0fya082315al84db03fa9bf467e3.png
Please, Log in or Register to view quotes
Returning to answer my own question. In /stable-diffusion-portable-main/ find webui-user.bat and open it with whatever notepad program you use and add --lowvram to the line set COMMANDLINE_ARGS= Save it and double click webui-user.bat to run it in low VRAM mode. Been generating way larger images, albeit slower.
 
Last edited:

Spawn2

Tier 3 Sub
Mar 18, 2022
12
404
607
0fya082315al84db03fa9bf467e3.png
Hi guys, do you have any advice on pixel correction and replacing a model's face with a face I want? FaceSwap website allows limited
 

tdriveovrld

Fan
Nov 24, 2022
11
82
229
0fya082315al84db03fa9bf467e3.png
Tips on dark clothing and keeping "Masked content" on "original"? (for original shape/better results)

(White/light color clothing works fine)

Prompts:

Pos: RAW photo of a nude woman, naked, breasts, boobs, tits

Neg: ((clothing), (monochrome:1.3), (deformed, distorted, disfigured:1.3), (hair), jeans, tattoo, wet, water, clothing, shadow, 3d render, cartoon, ((blurry)), duplicate, ((duplicate body parts)), (disfigured), (poorly drawn), ((missing limbs)), logo, signature, text, words, low res, boring, artifacts, bad art, gross, ugly, poor quality, low quality, poorly drawn, bad anatomy, wrong anatomy, bra, cloth, bikini, letters, text, bralette, lingerie

When fed images like this:
mia-lace-p5951-longline-bralette-black-f_orig.jpg
Screenshot-2023-06-03-101511.png


I get results like this:
grid-0007.jpg



Of course I can just select fill, but that defeats the point.

4090,13900k, 32gb ddr5

Any advice or tips? Thanks in advance