Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix hub table typo #803

Merged
merged 1 commit into from
Aug 10, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions .github/README-exec/onnx.readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,18 @@ The introduction of the CLIP model [can be found here](https://openai.com/blog/c

`ViT-B-32::openai` is used as the default model. To use specific pretrained models provided by `open_clip`, please use `::` to separate model name and pretrained weight name, e.g. `ViT-B-32::laion2b_e16`. Please also note that **different models give different sizes of output dimensions**.

| Model | ONNX | Output dimension |
|---------------------------------------|------|------------------|
| RN50 | ✅ | 1024 |
| RN101 | ✅ | 512 |
| RN50x4 | ✅ | 640 |
| RN50x16 | ✅ | 768 |
| RN50x64 | ✅ | 1024 |
| ViT-B-32 | ✅ | 512 |
| ViT-B-16 | ✅ | 512 |
| ViT-B-lus-240 | ✅ | 640 |
| ViT-L-14 | ✅ | 768 |
| ViT-L-14@336px | ✅ | 768 |
| Model | ONNX | Output dimension |
|-------------------|------|------------------|
| RN50 | ✅ | 1024 |
| RN101 | ✅ | 512 |
| RN50x4 | ✅ | 640 |
| RN50x16 | ✅ | 768 |
| RN50x64 | ✅ | 1024 |
| ViT-B-32 | ✅ | 512 |
| ViT-B-16 | ✅ | 512 |
| ViT-B-16-plus-240 | ✅ | 640 |
| ViT-L-14 | ✅ | 768 |
| ViT-L-14-336 | ✅ | 768 |

✅ = First class support

Expand Down
4 changes: 2 additions & 2 deletions .github/README-exec/torch.readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ With advances of ONNX runtime, you can use `CLIPOnnxEncoder` (see [link](https:/
| RN50x64 | ✅ | 1024 |
| ViT-B-32 | ✅ | 512 |
| ViT-B-16 | ✅ | 512 |
| ViT-B-lus-240 | ✅ | 640 |
| ViT-B-16-plus-240 | ✅ | 640 |
| ViT-L-14 | ✅ | 768 |
| ViT-L-14@336px | ✅ | 768 |
| ViT-L-14-336 | ✅ | 768 |
| M-CLIP/XLM_Roberta-Large-Vit-B-32 | ✅ | 512 |
| M-CLIP/XLM-Roberta-Large-Vit-L-14 | ✅ | 768 |
| M-CLIP/XLM-Roberta-Large-Vit-B-16Plus | ✅ | 640 |
Expand Down