Skip to content

Commit 74b6f3f

Browse files
author
machuofan
committed
update ckpt path
1 parent 950a754 commit 74b6f3f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
<a href="https://arxiv.org/abs/2502.20321"><img src='https://img.shields.io/badge/arXiv-UniTok-red' alt='Paper PDF'></a>
1313
<a href="https://foundationvision.github.io/UniTok/"><img src='https://img.shields.io/badge/Project_Page-UniTok-green' alt='Project Page'></a>
14-
<a href="https://huggingface.co/FoundationVision/UniTok"><img src='https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Model-blue'></a>
14+
<a href="https://huggingface.co/FoundationVision/unitok_tokenizer"><img src='https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Model-blue'></a>
1515

1616
[//]: # (<a href='https://huggingface.co/datasets/depth-anything/DA-2K'><img src='https://img.shields.io/badge/Benchmark-DA--2K-yellow' alt='Benchmark'></a>)
1717
</div>
@@ -263,7 +263,7 @@ We thus release the model checkpoint of UniTok that is trained from scratch.
263263

264264
| Model | Res. | #Token | Code Shape | rFID | Checkpoint |
265265
|:------------:|:----:|:------:|:-------------------------:|:----:|:------------:|
266-
| UniTok-Large | 256 | 256 | 16 $\times$ 16 $\times$ 8 | 0.39 | [Download](https://huggingface.co/FoundationVision/UniTok/blob/main/unitok_tokenizer.pth) |
266+
| UniTok-Large | 256 | 256 | 16 $\times$ 16 $\times$ 8 | 0.39 | [Download](https://huggingface.co/FoundationVision/unitok_tokenizer/blob/main/unitok_tokenizer.pth) |
267267

268268

269269
## Usage
@@ -282,10 +282,10 @@ pip install -r requirements.txt
282282

283283
### Inference
284284

285-
Please download the [checkpoint](https://huggingface.co/FoundationVision/UniTok/blob/main/unitok_tokenizer.pth) and fill in the `ckpt_path`.
285+
Please download the [checkpoint](https://huggingface.co/FoundationVision/unitok_tokenizer) and fill in the `ckpt_path`.
286286
```bash
287287
python inference.py \
288-
--ckpt_path /path/to/unitok/checkpoint \
288+
--ckpt_path /path/to/unitok_tokenizer.pth \
289289
--src_img /path/to/test_img --rec_img /path/to/rec_img
290290
```
291291

@@ -294,7 +294,7 @@ python inference.py \
294294
- We train UniTok on [DataComp-1B](https://github.com/mlfoundations/datacomp).
295295
Please follow the [instructions](https://github.com/mlfoundations/datacomp?tab=readme-ov-file#downloading-datacomp-1b) to download and prepare the data.
296296

297-
- Download the [models](https://huggingface.co/FoundationVision/UniTok/tree/main/external) used for loss calculation and put them in `./external`.
297+
- Download the [models](https://huggingface.co/FoundationVision/unitok_external) used for loss calculation and put them under `./external`.
298298

299299
- Download the [ImageNet validation set](https://www.image-net.org/) for zero-shot accuracy evaluation.
300300

0 commit comments

Comments
 (0)