Compare commits

..
1 Commits
Author SHA1 Message Date
Phil Wang 9c758662a3 fix another stray bug 2020-09-06 23:25:30 -07:00
3 changed files with 2 additions and 2 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

@@ -403,7 +403,7 @@ class Trainer(object):
milestone = ind // SAVE_AND_SAMPLE_EVERY
all_images = self.model.p_sample_loop((64, 3, self.image_size, self.image_size))
utils.save_image(all_images, f'./sample-{milestone}.png', nrow=8)
torch.save(model.state_dict(), f'./model-{milestone}.pt')
torch.save(self.model.state_dict(), f'./model-{milestone}.pt')
ind += 1
+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.1',
version = '0.1.2',
license='MIT',
description = 'Denoising Diffusion Probabilistic Models - Pytorch',
author = 'Phil Wang',