r/MachineLearning • u/Wiskkey • Feb 25 '21
News [N] OpenAI has released the encoder and decoder for the discrete VAE used for DALL-E
Background info: OpenAI's DALL-E blog post.
Repo: https://github.com/openai/DALL-E.
Add this line as the first line of the Colab notebook:
!pip install git+https://github.com/openai/DALL-E.gitI'm not an expert in this area, but nonetheless I'll try to provide more context about what was released today. This is one of the components of DALL-E, but not the entirety of DALL-E. This is the DALL-E component that generates 256x256 pixel images from a 32x32 grid of numbers, each with 8192 possible values (and vice-versa). What we don't have for DALL-E is the language model that takes as input text (and optionally part of an image) and returns as output the 32x32 grid of numbers.
I have 3 non-cherry-picked examples of image decoding/encoding using the Colab notebook at this post.
Update: The DALL-E paper was released after I created this post.
Update: A Google Colab notebook using this DALL-E component has already been released: Text-to-image Google Colab notebook "Aleph-Image: CLIPxDAll-E" has been released. This notebook uses OpenAI's CLIP neural network to steer OpenAI's DALL-E image generator to try to match a given text description.
32
u/gwern Feb 25 '21
The paper is now also up.
7
u/Wiskkey Feb 25 '21
Text-to-image Google Colab notebook "Aleph-Image: CLIPxDAll-E" has been released. This notebook uses OpenAI's CLIP neural network to steer OpenAI's DALL-E image generator to try to match a given text description.
41
u/SadPaperMachine Feb 25 '21
Issue: Any plan on releasing the text encoder?
https://github.com/openai/DALL-E/issues/4
So they basically release a d-VAE (not their contribution), not the DALL-E. Welp, nice one, OpenAI for close door research.
14
u/[deleted] Feb 25 '21
those results look pretty good, are other VAEs usually that good?
8
u/bandrus5 Feb 25 '21
My understanding was that the 'encoder' part turned the text into numbers and the 'decoder' part turned the numbers into an image. Is that not correct?
5
u/deathfida Feb 25 '21
Dall-E share notebook example *Happy. Only d-VAE *My disappointment is immeasurable
Still waiting
5
u/juanmas07 Feb 25 '21
ClosedAI
3
u/CATALUNA84 Researcher Feb 25 '21 edited Feb 25 '21
Finally! 🤩
It has been tough to discuss this without the full mathematical formulations, even during the last episode of Karpathy & J.C.Jonson on Clubhouse - they alluded to the difficulties that they faced in its implementation…
It’s frustrating to see such cool stuff limited in its backtrackablity & not being able to replicate those formulations
2
u/adikhad Feb 25 '21
I'm getting this error on GPU run on colab:
Expected object of device type cuda but got device type cpu for argument #1 'self' in call to _thnn_conv2d_forwardAny Idea?
1
u/radome9 Feb 25 '21
How long before someone sets up a porn site with only generated porn?
1
u/Vegeta_DTX Feb 26 '21
Many thanks for this!!!
22
u/[deleted] Feb 25 '21
[removed] — view removed comment