From de378158e5e1a3fbe5a45b0da09f8644e3f1c719 Mon Sep 17 00:00:00 2001 From: Phil Wang Date: Sun, 1 May 2022 13:16:06 -0700 Subject: [PATCH] readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c0873ac..d3d2964 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) +training_images = torch.randn(8, 3, 128, 128) # your images need to be normalized from a range of -1 to +1 loss = diffusion(training_images) loss.backward() # after a lot of training