mirror of
https://github.com/wassname/denoising-diffusion-pytorch.git
synced 2026-09-11 12:11:43 +08:00
update readme
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user