Update README.md
Browse files
README.md
CHANGED
@@ -30,7 +30,7 @@ Next use the following straightforward steps to generate images from the final m
|
|
30 |
```
|
31 |
from micro_diffusion.models.model import create_latent_diffusion
|
32 |
model = create_latent_diffusion(latent_res=64, in_channels=4, pos_interp_scale=2.0).to('cuda')
|
33 |
-
model.load_state_dict(torch.load(ckpt_path_on_local_disk))
|
34 |
gen_images = model.generate(prompt=['An elegant squirrel pirate on a ship']*4, num_inference_steps=30,
|
35 |
guidance_scale=5.0, seed=2024)
|
36 |
```
|
|
|
30 |
```
|
31 |
from micro_diffusion.models.model import create_latent_diffusion
|
32 |
model = create_latent_diffusion(latent_res=64, in_channels=4, pos_interp_scale=2.0).to('cuda')
|
33 |
+
model.dit.load_state_dict(torch.load(ckpt_path_on_local_disk))
|
34 |
gen_images = model.generate(prompt=['An elegant squirrel pirate on a ship']*4, num_inference_steps=30,
|
35 |
guidance_scale=5.0, seed=2024)
|
36 |
```
|