• Stars
    star
    161
  • Rank 232,175 (Top 5 %)
  • Language
    Python
  • License
    Apache License 2.0
  • Created over 2 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A basic PyTorch implementation of 'Denoising Diffusion Probabilistic Models'

PyTorch implementation of 'Denoising Diffusion Probabilistic Models'

This repository contains my attempt at reimplementing the main algorithm and model presenting in Denoising Diffusion Probabilistic Models, the recent paper by Ho et al., 2020. A nice summary of the paper by the authors is available here.

This implementation uses pytorch lightning to limit the boilerplate as much as possible. Due to time and computational constraints, I only experimented with 32x32 image datasets, but it should scale up to larger datasets like LSUN and CelebA as demonstrated in the original paper. This implementation was done for my own self-education, and hopefully it can help others learn as well.

Use the provided entry.ipynb notebook to train model and sample generated images.

Supports MNIST, Fashion-MNIST and CIFAR datasets.

Requirements

  • PyTorch
  • PyTorch-Lightning
  • Torchvision
  • imageio (for gif generation)

Generated Images

MNIST

MNIST Generation

Fashion-MNIST

Fashion MNIST Generation

CIFAR

CIFAR Generation

More Repositories

1

DeepRL-Agents

A set of Deep Reinforcement Learning Agents implemented in Tensorflow.
Jupyter Notebook
2,231
star
2

TF-Tutorials

A collection of deep learning tutorials using Tensorflow and Python
Jupyter Notebook
523
star
3

Meta-RL

Implementation of Meta-RL A3C algorithm
Jupyter Notebook
401
star
4

oreilly-rl-tutorial

Contains Jupyter notebooks associated with the "Deep Reinforcement Learning Tutorial" tutorial given at the O'Reilly 2017 NYC AI Conference.
Jupyter Notebook
273
star
5

neuro-nav

A library for neuroscience-inspired navigation and decision making research.
Jupyter Notebook
197
star
6

dfp

Reinforcement Learning with Goals
Jupyter Notebook
170
star
7

Pix2Pix-Film

An implementation of Pix2Pix in Tensorflow for use with frames from films
Jupyter Notebook
165
star
8

sound-cnn

A convolutional neural network that classifies sounds
Python
159
star
9

3D-TSNE

A Unity project for visualizing t-SNE data in 3D.
C#
73
star
10

RL-CC

Web-based Reinforcement Learning Control Center
Jupyter Notebook
64
star
11

successor_examples

Tutorials on learning and using successor representations.
Jupyter Notebook
49
star
12

ML-Tools

Variety of machine learning algorithms written in python
Python
42
star
13

DNN-Sentiment

Convolutional and recurrent deep neural networks for text sentiment analysis.
Python
32
star
14

NeuralDreamVideos

A deep learning model for creating video sequences
Jupyter Notebook
24
star
15

cognition-course

Slides used in Cognitive Psychology course taught during summer 2015 at the University of Oregon
6
star
16

synescape

Sound visualization app for musicians and music fans.
C#
5
star
17

interaction-grounded-learning

A simple PyTorch implementation of the ideas presented in the paper Interaction Grounded Learning (IGL) from Xie et al., 2021.
Jupyter Notebook
4
star
18

serotonin-ebm

Python
1
star