Luo-Yihong
commited on
Commit
•
e87f526
1
Parent(s):
b25d8b2
Update README.md
Browse files
README.md
CHANGED
@@ -30,7 +30,7 @@ bs = 1
|
|
30 |
latents = ... # maybe some latent codes of real images or SD generation
|
31 |
latent_mean = latent.mean(dim=0)
|
32 |
init_latent = latent_mean.repeat(bs,1,1,1) + latents.std()*torch.randn_like(latents)
|
33 |
-
noise = torch.randn([
|
34 |
input_latent = pipeline.scheduler.add_noise(init_latent,noise,T)
|
35 |
imgs= pipeline(prompt="A photo of a dog",
|
36 |
num_inference_steps=steps,
|
|
|
30 |
latents = ... # maybe some latent codes of real images or SD generation
|
31 |
latent_mean = latent.mean(dim=0)
|
32 |
init_latent = latent_mean.repeat(bs,1,1,1) + latents.std()*torch.randn_like(latents)
|
33 |
+
noise = torch.randn([bs,4,64,64])
|
34 |
input_latent = pipeline.scheduler.add_noise(init_latent,noise,T)
|
35 |
imgs= pipeline(prompt="A photo of a dog",
|
36 |
num_inference_steps=steps,
|