8000 GitHub - shortykilz/dalle-mini at scan · GitHub
[go: up one dir, main page]

Skip to content

About

DALL·E Mini - Generate images from a text prompt

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

title DALL·E mini
emoji 🥑
colorFrom yellow
colorTo green
sdk streamlit
app_file app/streamlit/app.py
pinned true
license apache-2.0

DALL·E Mini

Join us on Discord

Generate images from a text prompt

Our logo was generated with DALL·E mini using the prompt "logo of an armchair in the shape of an avocado".

You can create your own pictures with the demo.

How does it work?

Refer to our report.

Inference Pipeline

To generate sample predictions and understand the inference pipeline step by step, refer to tools/inference/inference_pipeline.ipynb.

Open In Colab

Contributing

Join the community on the DALLE-Pytorch Discord. Any contribution is welcome, from reporting issues to proposing fixes/improvements or testing the model with cool prompts!

Development

Dependencies Installation

For inference only, use pip install git+https://github.com/borisdayma/dalle-mini.git.

For development, clone the repo and use pip install -e ".[dev]". Before making a PR, check style with make style.

Image Encoder

We use a VQGAN from taming-transformers, which can also be fine-tuned.

Use patil-suraj/vqgan-jax if you want to convert a checkpoint to JAX (does not support Gumbel).

Any image encoder that turns an image into a fixed sequence of tokens can be used.

Training of DALL·E mini

Use tools/train/train.py.

You can also adjust the sweep configuration file if you need to perform a hyperparameter search.

FAQ

Where to find the latest models?

Trained models are on 🤗 Model Hub:

Where does the logo come from?

The "armchair in the shape of an avocado" was used by OpenAI when releasing DALL·E to illustrate the model's capabilities. Having successful predictions on this prompt represents a big milestone to us.

Acknowledgements

Authors & Contributors

DALL·E mini was initially developed by:

Many thanks to the people who helped make it better:

Citing DALL·E mini

If you find DALL·E mini useful in your research or wish to refer, please use the following BibTeX entry.

@misc{Dayma_DALL·E_Mini_2021,
      author = {Dayma, Boris and Patil, Suraj and Cuenca, Pedro and Saifullah, Khalid and Abraham, Tanishq and Lê Khắc, Phúc and Melas, Luke and Ghosh, Ritobrata},
      doi = {10.5281/zenodo.5146400},
      month = {7},
      title = {DALL·E Mini},
      url = {https://github.com/borisdayma/dalle-mini},
      year = {2021}
}

References