Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
lucidrains committed Jun 18, 2024
1 parent 479b8f8 commit 495d3d4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,17 @@

Implementation of TiTok, proposed by Bytedance in <a href="https://yucornetto.github.io/projects/titok.html">An Image is Worth 32 Tokens for Reconstruction and Generation</a>

## Install

```bash
$ pip install titok-pytorch
```

## Usage

```python
import torch
from titok_pytorch.titok import TiTokTokenizer
from titok_pytorch import TiTokTokenizer

images = torch.randn(2, 3, 256, 256)

Expand Down

0 comments on commit 495d3d4

Please sign in to comment.