stable-diffusion-v1-4 Resumed from stable-diffusion-v1-2 - 225,000 steps at resolution 512x512 on "laion-aesthetics v2 5+" and 10 % dropping of the text-conditioning to improve classifier-free guidance sampling.
stable-diffusion-v1-5 Resumed from stable-diffusion-v1-2 - 595,000 steps at resolution 512x512 on "laion-aesthetics v2 5+" and 10 % dropping of the text-conditioning to improve classifier-free guidance sampling.
in cryptographic algorithms which create identical hash for different content is called collision.
we can use same analogy.
same prompt, and other params with same seed produces exact same image pixel perfect. same prompt just changing seeds can generate millions and billions of images.
different prompts with different seeds and other parameters generating exactly same image should be extremely rare, but we don’t have any mathematical proof yet that it is impossible .
but I have seen some scenarios where after lot of steps , image loosing details and or get tinted into some colour patches like with perlin noise.
this version only has diffusers model from huggingface. not under active development for over a month, there are about 10 pull requests pending including mine for embedding prompt metadata in png file.
this is a rewritten version of the code for openvino, but the code is small and readable. I could play with the code and make my own changes fairly quickly
current stability model has no concept of text or font generation. it knows only pixels and how to improve them.
even if we train with million text images with text tagging, it will not generate reliably.
my understanding is we have connected two different models at hip, one to understand text prompt and generate vectors. another model trained with images and tags . Seed is used to generate perlin noise and improvement is made in each iteration based on the vector understanding of the prompt.
pixel perfect copy would be impossible, it stores less than 1% of data of training image at 512x512 pixel across billion plus images in the 4gb dataset.
faces and styles which are created very well by stable diffusion like greg rutkowski, Scarlett Johansson is because they were in dozens if not on hundreds of training images.
also prompt length is limited to 72 token about 500 characters per image. does not give enough fidelity describing every object with high precision .
something close may be achievable with many generations of content with in painting and img2img.
I wrote a script to generate a animation of how images emerge after each iteration, so did see several seed data and resulting perlin noise image generated .
I also tried generating my own noise images to try img2img, in painting, fonts/texts, results were not as good
intel uhd graphics card peak performance is far less than 1 teraflop and is not considered as GPU . nvidia 4090 TI has over 100 teraflops of performance.
nvidia 4090 TI has 80 billion transistors, intels newly launched Arc ACM-G10 has 7.2 billion transistors.
you can run on your CPU intel or AMD will take several minutes per image generation
I do not have nvidia GPU, so I did wrote a version for intel supporting openvino version. storage need increases several fold, speed decreases significantly.
just run
pip install stability-sdk
that will install the library into python you can use it.
set key in environment, add it to .bash_profile or run this in terminal
export STABILITY_KEY =your_api_key_here
run in terminal
python3 -m stability_sdk.client -W 512 -H 512 "A stunning house."
or import it into a python script
that is a option what you suggest, but do compare the generated images which look normal
it is a predominantly US trained data set and lot of training data of tagged doctors were also Indian. basically training dataset bias.
you can get other costumes by adding the costumes names.
here are few more samples
https://imgur.com/a/Mhgfw8Z
you can see few samples
https://imgur.com/a/atid5dP
try indian doctor instead of just indian and you will get better skin tones, faces , indian dresses. works on 1.4, 1.5
you can thank me later.
this is not from stability AI version, we all are waiting for it from september.
Emaad’s talk during their funding announcement
https://youtu.be/1Uy_8YPWrXo
stable-diffusion-v1-4 Resumed from stable-diffusion-v1-2 - 225,000 steps at resolution 512x512 on "laion-aesthetics v2 5+" and 10 % dropping of the text-conditioning to improve classifier-free guidance sampling.
stable-diffusion-v1-5 Resumed from stable-diffusion-v1-2 - 595,000 steps at resolution 512x512 on "laion-aesthetics v2 5+" and 10 % dropping of the text-conditioning to improve classifier-free guidance sampling.
in cryptographic algorithms which create identical hash for different content is called collision.
we can use same analogy.
same prompt, and other params with same seed produces exact same image pixel perfect. same prompt just changing seeds can generate millions and billions of images.
different prompts with different seeds and other parameters generating exactly same image should be extremely rare, but we don’t have any mathematical proof yet that it is impossible .
but I have seen some scenarios where after lot of steps , image loosing details and or get tinted into some colour patches like with perlin noise.
this version only has diffusers model from huggingface. not under active development for over a month, there are about 10 pull requests pending including mine for embedding prompt metadata in png file.
this is a rewritten version of the code for openvino, but the code is small and readable. I could play with the code and make my own changes fairly quickly
mine is a intel mac, you can install openvino first
https://docs.openvino.ai/2021.2/openvino_docs_install_guides_installing_openvino_macos.html
then install this version of SD optimised for intel chips with open vino
https://github.com/bes-dev/stable_diffusion.openvino
it takes about 4 minutes per image on my i9 , on a i7 or i5 it may take 5-8 minutes per image.
though I used it for over a month but then started using paid and free API’s, they generate images in about 10 seconds.
speed is a big feature and now only use local version for NSFW or certain prompts which API’s restrict .
yesterday a developer released a beta version of stable diffusion running natively on iphone .
it is incredibly slow, but this is good step and improvements would be happening.
2+gb app size, beta available for iphone users using testflight.
twitter link
https://twitter.com/wattmaller1/status/1581284065197445122?s=46&t=rAHYxlHnMAkkOWYMTJSuYg
current stability model has no concept of text or font generation. it knows only pixels and how to improve them.
even if we train with million text images with text tagging, it will not generate reliably.
my understanding is we have connected two different models at hip, one to understand text prompt and generate vectors. another model trained with images and tags . Seed is used to generate perlin noise and improvement is made in each iteration based on the vector understanding of the prompt.
prompt generated amazingly beautiful images , seems about 1 in 10 generated content is NSFW and clears NSFW filters used by API providers.
topaz gigapixel AI, has one time fees, desktop app, useful for doing batch conversions.
pixel perfect copy would be impossible, it stores less than 1% of data of training image at 512x512 pixel across billion plus images in the 4gb dataset.
faces and styles which are created very well by stable diffusion like greg rutkowski, Scarlett Johansson is because they were in dozens if not on hundreds of training images.
also prompt length is limited to 72 token about 500 characters per image. does not give enough fidelity describing every object with high precision .
something close may be achievable with many generations of content with in painting and img2img.
can you share the prompt
the seed is used to generate a special type of noise image called perlin noise. this is very different from random noise generated.
in stable diffusion each iteration from the noise slight improvement is made to come up with the image.
sequential seed data generating similar perlin noise is not impossible but should be pretty rare.
https://en.m.wikipedia.org/wiki/Perlin_noise
I wrote a script to generate a animation of how images emerge after each iteration, so did see several seed data and resulting perlin noise image generated .
I also tried generating my own noise images to try img2img, in painting, fonts/texts, results were not as good
amazing prompt
generates interesting images :)
try combinations of full body, full body portrait,canon 5 d, 5 0 mm lens, very detailed face, closeup , centered,
or share the prompt, can experiment and get you a acceptable outcome
over the years have used vmware, virtual box, docker.
virtualisation will be 10-20% slower than running directly
intel uhd graphics card peak performance is far less than 1 teraflop and is not considered as GPU . nvidia 4090 TI has over 100 teraflops of performance.
nvidia 4090 TI has 80 billion transistors, intels newly launched Arc ACM-G10 has 7.2 billion transistors.
you can run on your CPU intel or AMD will take several minutes per image generation
having a SSD can help performance as it has to load the 4gb model for each time script is run
I do not have nvidia GPU, so I did wrote a version for intel supporting openvino version. storage need increases several fold, speed decreases significantly.
my use case was to generate animation.