Path: blob/main/diffusers/latent_diffusion_upscaler.ipynb
5906 views
Kernel: Python 3
Image super-resolution using Latent Diffusion
This colab notebook shows how to use the Latent Diffusion image super-resolution model using 🧨 diffusers libray.
The model was originally released in Latent Diffusion repo. It's a simple, 4x super-resolution model diffusion model. This model is not conditioned on text.
Install the Deps
In [1]:
Out[1]:
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
|████████████████████████████████| 175 kB 5.1 MB/s
|████████████████████████████████| 182 kB 46.5 MB/s
Building wheel for diffusers (PEP 517) ... done
Imports
In [1]:
Load the pipeline
In [2]:
Out[2]:
Fetching 6 files: 0%| | 0/6 [00:00<?, ?it/s]
Get the image for demo
In [3]:
Out[3]:
Run pipeline to upscale the image
In [4]:
Out[4]:
0%| | 0/100 [00:00<?, ?it/s]
In [5]:
Out[5]:
In [ ]: