Update README.md

This commit is contained in:
Patrick von Platen 2022-06-07 15:13:39 +02:00 committed by GitHub
parent ef4365c6ef
commit eee80dd2f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -34,6 +34,7 @@ import numpy as np
generator = torch.Generator() generator = torch.Generator()
generator = generator.manual_seed(6694729458485568) generator = generator.manual_seed(6694729458485568)
torch_device = "cuda" if torch.cuda.is_available() else "cpu"
# 1. Load models # 1. Load models
scheduler = GaussianDDPMScheduler.from_config("fusing/ddpm-lsun-church") scheduler = GaussianDDPMScheduler.from_config("fusing/ddpm-lsun-church")