Questions tagged [stable-diffusion]

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.

210 questions
0
votes
0 answers

hakurei/waifu-diffusion - CUDA out of memory. Tried to allocate 58.00 MiB

code: torch=0.15.1+cu117 torchvision=2.0.1+cu117 torchaudio=2.0.0+cu117 import torch from torch import autocast from diffusers import StableDiffusionPipeline pipe = StableDiffusionPipeline.from_pretrained( 'hakurei/waifu-diffusion', …
0
votes
1 answer

Proxy error while installing Stable Diffusion locally

I am installing Stable Diffusion on a local PC, Windows 10, Python 3.10.6. While running the webui-user.bat, I meet the error: F:\Stable Diffusion\stable-diffusion-webui>webui-user venv "F:\Stable…
Zhang Mike
  • 15
  • 3
0
votes
1 answer

Diffusion Stable, can you use a url as part of the text to image feature?

I run stable diffusion locally, and run the txt2image with commands like: python3.8 scripts/txt2image.py --prompt "Joe Rogan eating a donut next to Elon Musk" I highly doubt that it has been trained to use Joe Rogan, Elon Musk, and donuts. However,…
0
votes
0 answers

Unable to load model, Compile the model with Xcode or `MLModel.compileModel(at:)`. SwiftUI Stable Diffusion

I am trying to run Stable Diffusion's CoreML model with a SwiftUI app, on an M2 pro mac, with MacOS Ventura 13.2.1. I have downloaded the Core ML Stable Diffusion Models from Hugging Face Hub, and the app compiled and ran successfully on my mac bug…
0
votes
0 answers

Permanently run stable diffusion on Google Colab without reinstall?

I am running stable diffusion on Colab, after I close it down, it takes a long time to re-initialize and re-install the next time I run it. Is there any possible ways to go around it?
user9727936
  • 47
  • 2
  • 5
0
votes
0 answers

How can I generate images just by inputting a vector into an AI model?

I have a question that may be naive. How can I build an AI model where the input is a vector and the output is a image? For example, in a room, I would like to predict the temperature field of a certain section of the room by controlling the exhaust…
0
votes
0 answers

error while fine tuning huggung face stable diffusion model

I am trying to fine-tune a stable diffusion model on my custom dataset. I am following Hugging face s documentation https://huggingface.co/docs/diffusers/training/text2image I only changed the script file (you will find below my version) for the…
Mohamed Amine
  • 340
  • 1
  • 4
  • 16
0
votes
0 answers

How to generate a number of images using Diffusion quickly?

I'm using Diffusion (not limited in Diffusion) to generate a number of images, let's say 256. Normally, it will takes around one minute to generate one sample, so I create a Noise dataset (like below) and convert to a Dataloader: class…
Carl
  • 109
  • 8
0
votes
0 answers

Trying to connect to banana.dev api using make.com(integromat) and running into an error

Ive deployed stable diffusion on banana.dev ive loaded an http request on make.com(integromat) looks like to following: { "id": "xyz", "created": 123123123123, "apiKey": "redacted", "modelKey": "redacted", "startOnly": false, …
0
votes
0 answers

What checkpoint should I use with Stable Diffusion on a Mac Intel?

I'm trying to use Stable Diffusion locally on my MacBook Pro Intel and I have many problems. My question for this post is: which checkpoint should I use (and why) ? Bellow is the details of my experiment. On Stable Diffusion GitHub's page, it is…
Vincent Garcia
  • 635
  • 10
  • 19
0
votes
0 answers

AttributeError: 'StableDiffusionKDiffusionPipeline' object has no attribute 'sampler'

installed diffusers version is 0.14.0 im currently getting this error StableDiffusionKDiffusionPipeline' object has no attribute 'sampler' i tried installing k-diffusion that version is 0.0.14 heres code if not os.path.exists(IMAGE_SAVE_PATH): …
Michael
  • 3
  • 2
0
votes
0 answers

Error when attempting to run Google Colab Deforum Stable Diffusion with a local GPU -- ModuleNotFoundError: No module named 'helpers.save_images'

I'm attempting to run Deforum in Google Colab (https://colab.research.google.com/github/deforum-art/deforum-stable-diffusion/blob/main/Deforum_Stable_Diffusion.ipynb). I was able to successfully get Jupyter installed and the GPU to successfully…
user882134
  • 279
  • 3
  • 16
0
votes
0 answers

How to use circular padding to diffusion model from Keras CV Stable diffusion API?

Referring to https://github.com/divamgupta/stable-diffusion-tensorflow and the author's colab notebook for tiling generation, is the tiling generation is also applicable to the Keras CV API for stable diffusion? I have been playing around with…
Artico
  • 11
  • 2
0
votes
0 answers

How can I describe a prompt for red background color in Stable Diffusion Inpaint Upload function

I'm using the Stable Diffusion Inpaint Upload function to generate the background for existing PNG images. I provided the init image (a PNG image with an object placed at the center) and its mask. I used the prompt "red background", but the Stable…
Mark Smith
  • 138
  • 1
  • 8
0
votes
0 answers

Handling Latin1 and UTF8 Encoding in Image Attribute Parameters

I am working with the stable diffusion webUI library and trying to use oiio to read the attribute parameters of images that the library generates. The encoding conventions of this library seem to be a mix of Latin1 and UTF8. oiio code: ImageBuf…
0ices
  • 35
  • 9