Skip to content

Commit 48da5f3

Browse files
committed
updated lecture 22
1 parent 2c5ec8e commit 48da5f3

3 files changed

Lines changed: 41 additions & 45 deletions

File tree

slides/week7/lecture22.html

Lines changed: 38 additions & 40 deletions
Large diffs are not rendered by default.

slides/week7/lecture22.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -398,17 +398,15 @@ U-Nets have strong inductive biases for spatial data (locality, hierarchy). Thes
398398
</div>
399399

400400
---
401-
<!-- _class: scale-70 -->
401+
<!-- _class: scale-75 -->
402402

403403
# Try it: generate an image
404404

405405
<div class="example-box" data-title="Text-to-image with Stable Diffusion (Google Colab)">
406406

407407
```python
408-
!pip install -q diffusers transformers accelerate
409-
410-
import torch
411408
from diffusers import StableDiffusionPipeline
409+
import torch
412410

413411
pipe = StableDiffusionPipeline.from_pretrained(
414412
"runwayml/stable-diffusion-v1-5", torch_dtype=torch.float16
@@ -466,6 +464,6 @@ Every concept from this lecture is working together in those 5 lines of code.
466464

467465
<div class="tip-box" data-title="Up next...">
468466

469-
Diffusion applications: text-to-video (Sora), text-to-audio, discrete diffusion for text, and the ethics of generative AI
467+
More diffusion applications (text-to-video, text-to-audio) and ethics of multimodal generative models
470468

471469
</div>

slides/week7/lecture22.pdf

-4.94 KB
Binary file not shown.

0 commit comments

Comments
 (0)