diff --git a/README.md b/README.md index 550c46c..4caed09 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ diffusion = GaussianDiffusion( loss_type = 'l1' # L1 or L2 ) -training_images = torch.randn(8, 3, 128, 128) # your images need to be normalized from a range of -1 to +1 +training_images = torch.randn(8, 3, 128, 128) # images are normalized from 0 to 1 loss = diffusion(training_images) loss.backward() # after a lot of training