This repo contains our code for generating images using Dall-E mini for our game "The Dall-E Alchemist".
This program only works on Linux with Python >= 3.7
Memory required >= 5GB
It is recommended to create a virtual environment with the following packages:
pip install --upgrade pip
pip install -q git+https://github.com/huggingface/transformers.git
pip install -q git+https://github.com/patil-suraj/vqgan-jax.git
pip install -q git+https://github.com/borisdayma/dalle-mini.git
pip install jaxlib
pip install notebook
pip install ipywidgets
Note: See here for GPU Jax installation
This notebook was used as a reference for the code in this repo. This repo is the official Dall-E Mini repo.
- Set up pipeline for generating and saving image outputs from text input
- Create a set of words to be used as input
- Generate all possible combination
- Generate images from the combinations
- Save combinations in an easy to access way