Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
razzant authored Mar 28, 2023
1 parent e019f03 commit 23e0e5e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

## Model architecture:

![](./content/kandisky21.png)

Kandinsky 2.1 inherits best practicies from DallE-2.0 and Latent diffucion, while introducing some new ideas.

As text and image encoder it uses CLIP model and diffusion prior (mapping) between latetnt spaces of CLIP modalities. This approach increases the visual performance of the model and unveils new horizons in blending images and text-guided image manipulation.
Expand Down Expand Up @@ -45,6 +47,10 @@ images = model.generate_text2img('''red cat, 4k photo''', num_steps=100,
prior_steps="5",)
```

![](./content/einstein.png)

prompt: "Einstein in space around the logarithm scheme"

### 2. image fuse

```python
Expand Down Expand Up @@ -78,6 +84,8 @@ images = model.generate_inpainting('man 4k photo', init_image, mask,
prior_steps="5")
```

![](./content/fuse.png)

# Kandinsky 2.0

[![Framework: PyTorch](https://img.shields.io/badge/Framework-PyTorch-orange.svg)](https://pytorch.org/) [![Huggingface space](https://img.shields.io/badge/🤗-Huggingface-yello.svg)](https://huggingface.co/sberbank-ai/Kandinsky_2.0)
Expand Down

0 comments on commit 23e0e5e

Please sign in to comment.