Stable Diffusion is an AI art engine created by Stability AI. Popularly used in installations such as Automatic1111 webgui (https://github.com/AUTOMATIC1111/stable-diffusion-webui) and others. This tag covers problems with the engine and installations that bundle other interfaces, as well as prompt crafting and workflows for all functions that Stable Diffusion supports. Training, image to image, etc.
Questions tagged [stable-diffusion]
210 questions
0
votes
0 answers
Issue Importing Models to Diffusion Bee
When trying to import a Protogen model (.ckpt file type) to Diffusion Bee, I keep getting this error:
Error Traceback (most recent call last):
File "convert_model.py", line 28, in
KeyError: 'state_dict'
[83158] Failed to execute script…
0
votes
1 answer
I am attempting to fine-tune the stable diffusion with Dreambooth on myself (my face and body)
I am attempting to fine-tune the stable diffusion with Dreambooth on myself (my face and body), but the results are not satisfactory. I am seeking guidance on the best way to fine-tune stable diffusion in order to generate images of myself in…

Arthur Hakobyan
- 61
- 8
0
votes
0 answers
In Fast AI part 2 lecture 9A of course I get the Cuda Out of Memory Error in PyTorch
I was trying to follow along Jeremy Howard Fast Ai course.
I am on Part 2 of of the course Lecture 9A: https://www.youtube.com/watch?v=0_BBRNYInx8&t=0s
The code I am trying to run can be found below (its the code in the second…

Flyte
- 3
- 3
0
votes
1 answer
How to ensure that .nonzero() returns one element tensor?
[Edited to include the original source code]
I try to run the code that I found here:https://colab.research.google.com/drive/1roZqqhsdpCXZr8kgV_Bx_ABVBPgea3lX?usp=sharing
(linked from: https://www.youtube.com/watch?v=-lz30by8-sU)
!pip install…

Jan
- 264
- 1
- 5
- 14
0
votes
1 answer
How to identify inputs for a diffusion model?
I'm calling a Stable Diffusion in-painting model with the following code, however I know there are more parameters available in the model pipeline. How do I identify all the available parameters in this stable diffusion in-painting model?
from…

cormacncheese
- 1,251
- 1
- 13
- 27
0
votes
0 answers
Runtime error while installing stable-diffusion RuntimeError: Couldn't install requirements for Web UI
I'm jumping back into programming after a long time. Can someone help me with the error pasted below. I tried reinstalling everything and restarting but the below still seems to be happening. I also wasn't able to find any other posts about this…

SamSmith24
- 1
- 1
- 1
0
votes
0 answers
PAYG tokens - error messages (on both Disco and Stable Diffusion)
I signed up for some pay as you go credit - and to my dismay now receive this error both on Disco AND Stable Diffusion:
FileNotFoundError Traceback (most recent call last)
in
38…

kate kate
- 11
- 3
0
votes
0 answers
Diffusion models - Generate image using base image and caption
I am looking for implementation (or/and papers) of a diffusion (or something else) network that could generate an image with more objects, starting from another image and some description
e.g. image of an empty room, text "two people talking" ->…

XxcoralloxX
- 49
- 6
0
votes
0 answers
Program still referencing anaconda after uninstall
I'm attempting to install and run this github project, and have installed Python 3.10 on my Windows 10 PC, and added it to the PATH.
When I go to start running it, it searches for a Python installation and instead of locating Python 3.10, it looks…
0
votes
0 answers
Got error "AttributeError: 'TimestepEmbedSequential' object has no attribute '__globals__'" while torch.jit.script()
While trying to script Stable Diffusion model using torch.jit.script(), I got this following error:
AttributeError: 'TimestepEmbedSequential' object has no attribute '__globals__'
I'm trying to export this model to ONNX and found out that running…

mactok
- 1
- 1
0
votes
0 answers
Does the origin image has to rescale to [-1,1] in diffusion model
Does the origin image has to rescale to [-1,1] in diffusion model setting? Is there any progress to mitigate this restriction?
Except some explaination or Paper reference

zwm John
- 11
0
votes
2 answers
Error running Automatic1111(webui-user.bat) on Windows 11 - caching/lock issue in scipy
Getting the attached error when I run the webui.bat. Any idea what I might be doing incorrectly ?
Here is what I did:
1.) I installed the latest version on Windows-11 (git clone).
2.) Then I copied the SD 2.1 (768-v-ema.ckpt) model into the models…

PlanetUnknown
- 3,956
- 4
- 49
- 67
0
votes
1 answer
Multiple threads of Hugging face Stable diffusion Inpainting pipeline slows down the inference on same GPU
I am using Stable diffusion inpainting pipeline to generate some inference results on a A100 (40 GB) GPU. For a 512X512 image it is taking approx 3 s per image and takes about 5 GB of space on the GPU.
In order to have faster inference, I am trying…

hsuyaa
- 79
- 1
- 1
- 8
0
votes
1 answer
How can I save a fine-tuned version of StableDiffusion on a Google Colab and then deploy on Sagemaker?
I have a question about saving and deploying a fine-tuned StableDiffusion model with endpoints. I'm comfortable with the data science and ML side, but not so much with the ways in which models can be deployed for production.
The scenario: I have…

Lodore66
- 1,125
- 4
- 16
- 34
0
votes
2 answers
ImportError: cannot import name 'WatermarkEncoder' from 'imWatermark'
I'm trying to run stable diffusion on my local pc. It's a macbook pro m1. Even though I did follow every single step, I keep getting an import error. What might possibly be the reason and how may I fix it?
ImportError: cannot import name…

D3WYAN
- 37
- 3