Skip to content

Commit

Permalink
docs: fix hub table typo (#803)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZiniuYu authored Aug 10, 2022
1 parent bb2c142 commit b4fb0dd
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
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

0 comments on commit b4fb0dd

Please sign in to comment.