r/bigsleep • u/Wiskkey • Apr 04 '22
List of sites/programs/projects that use OpenAI's CLIP neural network for steering image/video creation to match a text description
Many of the systems on the list below are Google Colaboratory ("Colab") notebooks, which run in a web browser; for more info, see the Google Colab FAQ. Some Colab notebooks create output files in the remote computer's file system; these files can be accessed by clicking the Files icon in the left part of the Colab window. For the BigGAN image generators on the first list that allow the initial class (i.e. type of object) to be specified, here is a list of the 1,000 BigGAN classes. For the StyleGAN image generators on the first list that allow the specification of the StyleGAN2 .pkl file, here is a list of them. For those who are interested in technical details about how CLIP-guided text-to-image systems work, see the first 11:36 of video How does CLIP Text-to-image generation work?, and this comment from me for a more detailed description.
See also: Wiskkey's lists of text-to-image systems and related resources.
All items on this list were added in early 2021.
- (Added Feb. 5, 2021) The Big Sleep: BigGANxCLIP.ipynb - Colaboratory by advadnoun. Uses BigGAN to generate images. Instructions and examples. Notebook copy by levindabhi.
- (Added Feb. 5, 2021) Big Sleep - Colaboratory by lucidrains. Uses BigGAN to generate images. The GitHub repo has a local machine version. GitHub. How to use the latest features in Colab.
- (Added Feb. 5, 2021) The Big Sleep Customized NMKD Public.ipynb - Colaboratory by nmkd. Uses BigGAN to generate images. Allows multiple samples to be generated in a run.
- (Added Feb. 5, 2021) Text2Image - Colaboratory by tg_bomze. Uses BigGAN to generate images. GitHub.
- (Added Feb. 5, 2021) Text2Image_v2 - Colaboratory by tg_bomze. Uses BigGAN to generate images. GitHub.
- (Added Feb. 5, 2021) Text2Image_v3 - Colaboratory by tg_bomze. Uses BigGAN (default) or Sigmoid to generate images. GitHub.
- (Added Feb. 5, 2021) ClipBigGAN.ipynb - Colaboratory by eyaler. Uses BigGAN to generate images/videos. GitHub. Notebook copy by levindabhi.
- (Added Feb. 5, 2021) WanderCLIP.ipynb - Colaboratory by eyaler. Uses BigGAN (default) or Sigmoid to generate images/videos. GitHub.
- (Added Feb. 5, 2021) Story2Hallucination.ipynb - Colaboratory by bonkerfield. Uses BigGAN to generate images/videos. GitHub.
- (Added Feb. 5, 2021) CLIP-GLaSS.ipynb - Colaboratory by Galatolo. Uses BigGAN (default) or StyleGAN to generate images. The GPT2 config is for image-to-text, not text-to-image. GitHub.
- (Added Feb. 5, 2021) TADNE and CLIP - Colaboratory by nagolinc. Uses TADNE ("This Anime Does Not Exist") to generate images. GitHub.
- (Added Feb. 5, 2021) CLIP + TADNE (pytorch) v2 - Colaboratory by nagolinc. Uses TADNE ("This Anime Does Not Exist") to generate images. Instructions and examples. GitHub. Notebook copy by levindabhi
- (Added Feb. 5, 2021) CLIP & gradient ascent for text-to-image (Deep Daze?).ipynb - Colaboratory by advadnoun. Uses SIREN to generate images. To my knowledge, this is the first app released that uses CLIP for steering image creation. Instructions and examples. Notebook copy by levindabhi.
- (Added Feb. 5, 2021) Deep Daze - Colaboratory by lucidrains. Uses SIREN to generate images. The GitHub repo has a local machine version. GitHub. Notebook copy by levindabhi.
- (Added Feb. 5, 2021) CLIP-SIREN-WithSampleDL.ipynb - Colaboratory by norod78. Uses SIREN to generate images.
- (Added Feb. 7, 2021) Story2Hallucination_GIF.ipynb - Colaboratory by bonkerfield. Uses BigGAN to generate images. GitHub.
- (Added Feb. 14, 2021) GA StyleGAN2 WikiArt CLIP Experiments - Pytorch - clean - Colaboratory by pbaylies. Uses StyleGAN to generate images. More info.
- (Added Feb. 15, 2021) StyleCLIP - Colaboratory by orpatashnik. Uses StyleGAN to generate images. GitHub. Twitter reference. Reddit post.
- (Added Feb. 15, 2021) StyleCLIP by vipermu. Uses StyleGAN to generate images.
- (Added Feb. 15, 2021) Drive-Integrated The Big Sleep: BigGANxCLIP.ipynb - Colaboratory by advadnoun. Uses BigGAN to generate images.
- (Added Feb. 15, 2021) dank.xyz. Uses BigGAN or StyleGAN to generate images. An easy-to-use website for accessing The Big Sleep and CLIP-GLaSS. To my knowledge this site is not affiliated with the developers of The Big Sleep or CLIP-GLaSS. Reddit reference.
- (Added Feb. 17, 2021) Text2Image Siren+.ipynb - Colaboratory by eps696. Uses SIREN to generate images. Twitter reference. Example #1. Example #2. Example #3.
- (Added Feb. 18, 2021) Text2Image FFT.ipynb - Colaboratory by eps696. Uses FFT (Fast Fourier Transform) from Lucent/Lucid to generate images. eps696 suggests to use his Aphantasia notebook instead of this one. Twitter reference. Example #1. Example #2.
- (Added Feb. 23, 2021) TediGAN - Colaboratory by weihaox. Uses StyleGAN to generate images. GitHub. I got error "No pre-trained weights found for perceptual model!" when I used the Colab notebook, which was fixed when I made the change mentioned here. After this change, I still got an error in the cell that displays the images, but the results were in the remote file system. Use the "Files" icon on the left to browse the remote file system.
- (Added Feb. 24, 2021) CLIP_StyleGAN.ipynb - Colaboratory by levindabhi. Uses StyleGAN to generate images.
- (Added Feb. 24, 2021) Colab-BigGANxCLIP.ipynb - Colaboratory by styler00dollar. Uses BigGAN to generate images. "Just a more compressed/smaller version of that [advadnoun's] notebook". GitHub.
- (Added Feb. 24, 2021) clipping-CLIP-to-GAN by cloneofsimo. Uses FastGAN to generate images.
- (Added Feb. 24, 2021) Colab-deep-daze - Colaboratory by styler00dollar. Uses SIREN to generate images. I did not get this notebook to work, but your results may vary. GitHub.
- (Added Feb. 25, 2021) Aleph-Image: CLIPxDAll-E.ipynb - Colaboratory by advadnoun. Uses DALL-E's discrete VAE (variational autoencoder) component to generate images. Twitter reference. Reddit post.
- (Added Feb. 26, 2021) Aleph2Image (Delta): CLIP+DALL-E decoder.ipynb - Colaboratory by advadnoun. Uses DALL-E's discrete VAE (variational autoencoder) component to generate images. Twitter reference. Reddit post.
- (Added Feb. 26, 2021) Image Guided Big Sleep Public.ipynb - Colaboratory by jdude_. Uses BigGAN to generate images. Reddit post.
- (Added Feb. 27, 2021) Copy of working wow good of gamma aleph2img.ipynb - Colaboratory by advadnoun. Uses DALL-E's discrete VAE (variational autoencoder) component to generate images. Twitter reference.
- (Added Feb. 27, 2021) Aleph-Image: CLIPxDAll-E (with white blotch fix #2) - Colaboratory by thomash. Uses DALL-E's discrete VAE (variational autoencoder) component to generate images. Applies the white blotch fix mentioned here to advadnoun's "Aleph-Image: CLIPxDAll-E" notebook.
- (Added Feb. 28, 2021) DALLECLIP by vipermu. Uses DALL-E's discrete VAE (variational autoencoder) component to generate images. Twitter reference.
- (Added Mar. 1, 2021) Aphantasia.ipynb - Colaboratory by eps696. Uses FFT (Fast Fourier Transform) from Lucent/Lucid to generate images. GitHub. Twitter reference. Example #1. Example #2.
- (Added Mar. 4, 2021) Illustra.ipynb - Colaboratory by eps696. Uses FFT (Fast Fourier Transform) from Lucent/Lucid to generate images. GitHub.
- (Added Mar. 7, 2021) StyleGAN2-CLIP-approach.ipynb - Colaboratory by l4rz. Uses StyleGAN to generate images. GitHub. Twitter reference.
- (Added Mar. 7, 2021) projector_clip.py by pbaylies. Uses StyleGAN to generate images. Twitter reference.
- (Added Mar. 8, 2021) Aleph2Image Modified by kingchloexx for Image+Text to Image - Colaboratory by kingchloexx. Uses SIREN to generate images. Example.
- (Added Mar. 8, 2021) CLIP Style Transfer Test.ipynb - Colaboratory by Zasder3. Uses VGG19's conv4_1 to generate images. GitHub. Twitter reference.
- (Added Mar. 9, 2021) PaintCLIP.ipynb - Colaboratory by advadnoun. Uses Stylized Neural Painter to generate images. As of time of writing, this gave me an error message.
- (Added Mar. 9, 2021) VectorAscent by ajayjain. Uses diffvg to generate images.
- (Added Mar. 9, 2021) improving of Aleph2Image (delta): CLIP+DALL-E decoder.ipynb - Colaboratory by advadnoun. Uses DALL-E's discrete VAE (variational autoencoder) component to generate images. Twitter reference.
- (Added Mar. 13, 2021) StyleGAN2_CLIP_approach_furry.ipynb - Colaboratory by saralexxia. Uses StyleGAN to generate images. Reddit reference.
- (Added Mar. 15, 2021) Big-Sleep w/ EMA and Video Creation - Colaboratory by afiaka87. Uses BigGAN to generate images. Reddit post.
- (Added Mar. 15, 2021) deep-daze Fourier Feature Map - Colaboratory by afiaka87. Uses SIREN to generate images. Reference. Reddit post.
- (Added Mar. 16, 2021) AuViMi by NotNANtoN. Uses BigGAN or SIREN to generate images.
- (Added Mar. 18, 2021) TADNE Projection +guided sampling via CLIP - Colaboratory by halcy. Uses TADNE ("This Anime Does Not Exist") to generate images. I needed 2 changes to get this to work: 1) Change line "gdown.download('https://drive.google.com/uc?id=1qNhyusI0hwBLI-HOavkNP5I0J0-kcN4C', 'network-tadne.pkl', quiet=False)" to "gdown.download('https://drive.google.com/uc?id=1LCkyOPmcWBsPlQX_DxKAuPM1Ew_nh83I', 'network-tadne.pkl', quiet=False)" 2) Change line "_G, _D, Gs = pickle.load(open("/content/network-tadne.pkl", "rb"))" to "_G, _D, Gs = pickle.load(open("/content/stylegan2/network-tadne.pkl", "rb"))". Twitter reference.
- (Added Mar. 23, 2021) Big Sleep - Colaboratory by LtqxWYEG. Uses BigGAN to generate images. Reference.
- (Added Mar. 23, 2021) Big Sleep Tweaked - Colaboratory by scrunguscrungus. Uses BigGAN to generate images.
- (Added Mar. 23, 2021) Rerunning Latents - Colaboratory by PHoepner. Uses BigGAN to generate images. Reference.
- (Added Mar. 23, 2021) Looped Gif Creator - Colaboratory by PHoepner. Uses BigGAN to generate images. Reference #1. Reference #2.
- (Added Mar. 23, 2021) Morph - Colaboratory by PHoepner. This Colab notebook uses as input .pth files that are created by PHoepner's other Colab notebooks. Reference.
- (Added Mar. 23, 2021) ClipCarOptimizev2 - Colaboratory by EvgenyKashin. Uses StyleGAN to generate images. GitHub.
- (Added Mar. 23, 2021) ClipMeshOptimize.ipynb - Colaboratory by EvgenyKashin. Uses PyTorch3D to generate images. GitHub.
- (Added Apr. 3, 2021) stylegan ada w/ clip by chloe by kingchloexx. Uses StyleGAN to generate images.
- (Added Apr. 7, 2021) Journey in the Big Sleep: BigGANxCLIP.ipynb - Colaboratory by brian_l_d. Uses BigGAN to generate images/videos. Twitter reference. Example.
5
u/Wiskkey Apr 04 '22 edited Apr 05 '22
For those who've seen this post in another subreddit: This post is now the active version. The post in the other subreddit was removed by Reddit's spam filter when I was recently updating the post. I figured out which link caused the problem and removed it, but even after doing that a moderator from the other subreddit was unable to undo the post's spam designation.
3
u/Xie_Baoshi Apr 04 '22
Thank you, very useful.
2
u/feelosofee Apr 22 '22
Could anyone please explain me how to use the additional models available in github.com/CompVis/latent-diffusion ?
For now I could successfully run the
scripts/txt2img.pyscript from the README:python scripts/txt2img.py --prompt "a virus monster is playing guitar, oil on canvas" --ddim_eta 0.0 --n_samples 4 --n_iter 4 --scale 5.0 --ddim_steps 50which from my understanding by default uses the
text2img-largemodel... but now how do I use the other models in the Model Zoo section, like for example ImageNet?txt2img.pydoesn't support a --flag for that, so how can I set it?2
u/JoJoRacer Apr 25 '22
Thanks a lot for your lists and for your helpful attitude! I'm completely new to this field and would like to generate some images for my book on physics. I'm aiming at bringing 'boring' physics to life and make it more accessible by accompaniying the text with comic style characters performing different actions. A proton might look similar to a M&M from the commercial having a relatable mimic and gesture. Can you recommend a text2image AI for this specific purpose?
2
u/MaldNorwegian May 13 '22
Thank you for this list! But Since there is alot of waiting time and such because of shared GPU usages is there any way to run this on my own computer? I have an RTX 3090 and an intel i9 10th gen 11900k. I am not into coding and such so i dont really know how this work.
2
u/experimental-unit-42 Aug 11 '22
this is gonna sound bad but im looking for something like midjourny, (nothing seems to have the same quality as midjourny). but just more affordable or even free
1
u/[deleted] May 18 '22
What colab notebook do you recommend for CompVis latent diffusion?
1
u/WhoRoger May 26 '22
Thanks for the extensive list, but I'm confused. If I understand it correctly, these are GitHub projects that one can compile and run either locally or in the cloud using that Google collab thingy? I've never used that (nor do I really wanna use Google login for anything) so I'm not sure if I get even that part.
1
u/thebrokemonkey Jul 10 '22
Which one of these allows for providing a base image/shape to guide the creation?
1
u/MezzanineMan Jan 17 '23
Any updates to this?
2
u/Merzmensch Apr 27 '22
Absolutely awesome list! Thank you for compilation!
2
u/hotpot_ai Apr 29 '22
thank you for sharing this list.
1
u/ImmortalJadeEye Aug 11 '22
Saved
0
u/[deleted] May 17 '22
[deleted] — view deleted comment
0
u/[deleted] Jun 08 '22
[deleted] — view deleted comment