patrickvonplaten commited on
Commit
42b93b5
1 Parent(s): f1e5146

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -4
README.md CHANGED
@@ -30,9 +30,9 @@ import tqdm
30
  seed = 3
31
 
32
  # load all models
33
- unet = UNetUnconditionalModel.from_pretrained("./", subfolder="unet")
34
- vqvae = VQModel.from_pretrained("./", subfolder="vqvae")
35
- scheduler = DDIMScheduler.from_config("./", subfolder="scheduler")
36
 
37
  # set to cuda
38
  torch_device = "cuda" if torch.cuda.is_available() else "cpu"
@@ -87,7 +87,7 @@ import tqdm
87
 
88
  seed = 3
89
 
90
- pipeline = LatentDiffusionUncondPipeline.from_pretrained("./")
91
 
92
  # generatae image by calling the pipeline
93
  generator = torch.manual_seed(seed)
 
30
  seed = 3
31
 
32
  # load all models
33
+ unet = UNetUnconditionalModel.from_pretrained("CompVis/latent-diffusion-celeba-256", subfolder="unet")
34
+ vqvae = VQModel.from_pretrained("CompVis/latent-diffusion-celeba-256", subfolder="vqvae")
35
+ scheduler = DDIMScheduler.from_config("CompVis/latent-diffusion-celeba-256", subfolder="scheduler")
36
 
37
  # set to cuda
38
  torch_device = "cuda" if torch.cuda.is_available() else "cpu"
 
87
 
88
  seed = 3
89
 
90
+ pipeline = LatentDiffusionUncondPipeline.from_pretrained("CompVis/latent-diffusion-celeba-256")
91
 
92
  # generatae image by calling the pipeline
93
  generator = torch.manual_seed(seed)