Generating AI images with StableDiffusion - Beginner Guide

Psan2022

Newbie
Mar 8, 2022
94
138
Lol why do i get pics like that ? it's so scary
It is quite excentric. Like Van Gogh :D

To answer your question I need some intel:
1. What checkpoint are you using
2. What prompt
3. Any addons like Loras or are you using plugins?
4. What resolution are you generating in?
 

Psan2022

Newbie
Mar 8, 2022
94
138
Ah I see now. The default one is quite shit.
Download a checkpoint in the style of the image you want to generate.

SD 1.5:
For realism like this ->
For anime style ->

SDXL/PONY (More taxing on your PC, image gen resolution around 1024x1024):
Realism->
Anime Style ->

Edit: If you want to generate Hentai/XXX images Pony style Checkpoints and Loras are quite easy and straight forward to use.
 
  • Heart
Reactions: nicod

nicod

Newbie
May 17, 2019
79
231
Ah I see now. The default one is quite shit.
Download a checkpoint in the style of the image you want to generate.

SD 1.5:
For realism like this ->
For anime style ->

SDXL/PONY (More taxing on your PC, image gen resolution around 1024x1024):
Realism->
Anime Style ->

Edit: If you want to generate Hentai/XXX images Pony style Checkpoints and Loras are quite easy and straight forward to use.


NansException: A tensor with NaNs was produced in Unet. This could be either because there's not enough precision to represent the picture, or because your video card does not support half type. Try setting the "Upcast cross attention layer to float32" option in Settings > Stable Diffusion or using the --no-half commandline argument to fix this. Use --disable-nan-check commandline argument to disable this check.

anyone knows why i get this
 

Psan2022

Newbie
Mar 8, 2022
94
138
NansException: A tensor with NaNs was produced in Unet. This could be either because there's not enough precision to represent the picture, or because your video card does not support half type. Try setting the "Upcast cross attention layer to float32" option in Settings > Stable Diffusion or using the --no-half commandline argument to fix this. Use --disable-nan-check commandline argument to disable this check.

anyone knows why i get this
Open the webui-user.bat in the editor and put this into the command line: --xformers --no-half-vae
1740417906038.png
 

nicod

Newbie
May 17, 2019
79
231
Try this then:
COMMANDLINE_ARGS= --medvram --xformers --no-half
it caused the programm to render one pic in like half hour

the strange is it happens sometimes when i put many promps

MY card maybe the issue it's Old GTX 1650
 

Psan2022

Newbie
Mar 8, 2022
94
138
it caused the programm to render one pic in like half hour

the strange is it happens sometimes when i put many promps

MY card maybe the issue it's Old GTX 1650
Well, I would not expect any miracles with that card. For image generation you need a lot of VRAM and Tensor Cores. An GTX card does not have those sadly.