From eee80dd2f2e6d0002da78fb17bb687e5d7c1b1cf Mon Sep 17 00:00:00 2001 From: Patrick von Platen Date: Tue, 7 Jun 2022 15:13:39 +0200 Subject: [PATCH] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 5061bd15..a6ba944a 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,7 @@ import numpy as np generator = torch.Generator() generator = generator.manual_seed(6694729458485568) +torch_device = "cuda" if torch.cuda.is_available() else "cpu" # 1. Load models scheduler = GaussianDDPMScheduler.from_config("fusing/ddpm-lsun-church")