Compare commits

..
2 Commits
Author SHA1 Message Date
Phil Wang 1f1e42e9f9 update readme 2020-09-06 22:35:37 -07:00
Phil Wang e1800c1a8d remove wip, seems to be working 2020-09-06 14:26:23 -07:00
3 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
<img src="./denoising-diffusion.png" width="500px"></img>
## Denoising Diffusion Probabilistic Model, in Pytorch (wip)
## Denoising Diffusion Probabilistic Model, in Pytorch
Implementation of <a href="https://arxiv.org/abs/2006.11239">Denoising Diffusion Probabilistic Model</a> in Pytorch. It is a new approach to generative modeling that may <a href="https://ajolicoeur.wordpress.com/the-new-contender-to-gans-score-matching-with-langevin-sampling/">have the potential</a> to rival GANs. It uses denoising score matching to estimate the gradient of the data distribution, followed by Langevin sampling to sample from the true distribution. This implementation was transcribed from the official Tensorflow version <a href="https://github.com/hojonathanho/diffusion">here</a>.
@@ -61,9 +61,9 @@ trainer = Trainer(
'path/to/your/images',
image_size = 128,
train_batch_size = 32,
train_lr = 3e-4,
train_lr = 2e-5,
train_num_steps = 100000,
gradient_accumulate_every = 1
gradient_accumulate_every = 2
)
trainer.train()
@@ -372,9 +372,9 @@ class Trainer(object):
*,
image_size = 128,
train_batch_size = 32,
train_lr = 3e-4,
train_lr = 2e-5,
train_num_steps = 100000,
gradient_accumulate_every = 1
gradient_accumulate_every = 2
):
super().__init__()
self.model = diffusion_model
+1 -1
View File
@@ -3,7 +3,7 @@ from setuptools import setup, find_packages
setup(
name = 'denoising-diffusion-pytorch',
packages = find_packages(),
version = '0.1.0',
version = '0.1.1',
license='MIT',
description = 'Denoising Diffusion Probabilistic Models - Pytorch',
author = 'Phil Wang',