Implementation of DALL-E 2, OpenAI's updated text-to-image synthesis neural network, in Pytorch. The main novelty seems to be an extra layer of indirection with the prior network (whether it is an autoregressive transformer or a diffusion network), which predicts an image embedding based on the text embedding from CLIP. Specifically, this repository will only build out the diffusion prior network, as it is the best performing variant (but which incidentally involves a causal transformer as the denoising network) To train DALLE-2 is a 3 step process, with the training of CLIP being the most important. To train CLIP, you can either use x-clip package, or join the LAION discord, where a lot of replication efforts are already underway. Then, you will need to train the decoder, which learns to generate images based on the image embedding coming from the trained CLIP.

Features

  • Generate the DALL-E2 images from text
  • You can also train the decoder on images of greater than the size (say 512x512)
  • For the layperson, no worries, training will all be automated into a CLI tool
  • Training on Preprocessed CLIP Embeddings
  • Alternatively, you can also use Open Clip
  • Inpainting is also built into the Decoder

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow DALL-E 2 - Pytorch

DALL-E 2 - Pytorch Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of DALL-E 2 - Pytorch!

Additional Project Details

Programming Language

Python

Related Categories

Python AI Image Generators, Python Generative AI, Python Inpainting Tool

Registered

2022-08-01