Generative_Deep_Learning_2nd_Edition  by davidADSP

Code repo for generative deep learning book

created 3 years ago
1,316 stars

Top 31.1% on sourcepulse

GitHubView on GitHub
Project Summary

This repository provides the official codebase for the second edition of the O'Reilly book "Generative Deep Learning." It offers practical implementations of various generative modeling techniques, targeting machine learning practitioners and researchers looking to build creative AI applications. The benefit is a hands-on guide to state-of-the-art generative models.

How It Works

The project leverages Python and popular deep learning frameworks (likely TensorFlow/Keras, given the book's context) to implement models such as Variational Autoencoders (VAEs), Generative Adversarial Networks (GANs), Autoregressive Models, Normalizing Flows, Energy-Based Models, and Diffusion Models. The code is structured by book chapters and examples, facilitating a direct mapping from theory to practice.

Quick Start & Requirements

  • Install/Run: Docker is the primary method. Build with docker compose build (or docker compose -f docker-compose.gpu.yml build for GPU) and run with docker compose up (or docker compose -f docker-compose.gpu.yml up for GPU).
  • Prerequisites: Docker, Kaggle account and API token (for data downloads).
  • Setup: Requires Docker installation and Kaggle API setup.
  • Resources: Jupyter notebooks are accessible via http://localhost:8888. Tensorboard via http://localhost:6006.
  • Data Download: bash scripts/download.sh [faces, bricks, recipes, flowers, wines, cellosuites, chorales]
  • Tensorboard: bash scripts/tensorboard.sh <CHAPTER> <EXAMPLE>
  • Docs: Docker guide in Docker README, GCP setup in Google Cloud README.

Highlighted Details

  • Covers a comprehensive range of generative models including VAEs, GANs, Autoregressive Models, Normalizing Flows, Energy-Based Models, and Diffusion Models.
  • Includes advanced applications like Transformers, advanced GANs, Music Generation, World Models, and Multimodal Models.
  • Provides a structured approach with code organized by book chapters and examples.
  • Offers guidance for cloud deployment, specifically on Google Cloud Platform.

Maintenance & Community

The repository is associated with the O'Reilly book "Generative Deep Learning, 2nd Edition." Further community interaction details (e.g., Discord/Slack) are not explicitly mentioned in the README.

Licensing & Compatibility

The README does not explicitly state a license. Given the association with O'Reilly and the use of Keras examples, it's likely intended for educational and non-commercial use, but a formal license should be verified. Compatibility with commercial or closed-source projects is not specified.

Limitations & Caveats

The primary method of execution is Docker, which may be a barrier for users unfamiliar with containerization. The README implies GPU support but does not detail specific hardware or CUDA version requirements beyond the Docker command.

Health Check
Last commit

1 year ago

Responsiveness

1 week

Pull Requests (30d)
1
Issues (30d)
0
Star History
61 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.