Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JingyangQiao/prompt-gradient-projection
/ functions
Functions
467 in github.com/JingyangQiao/prompt-gradient-projection
⨍
Functions
467
◇
Types & classes
61
Function
vit_base_patch32_224
ViT-Base (ViT-B/32) from original paper (https://arxiv.org/abs/2010.11929). ImageNet-1k weights fine-tuned from in21k, source https://github.com/
dualprompt-pgp/vision_transformer.py:884
Function
vit_base_patch32_224_in21k
ViT-Base model (ViT-B/32) from original paper (https://arxiv.org/abs/2010.11929). ImageNet-21k weights @ 224x224, source https://github.com/googl
l2p-pgp/vision_transformer.py:946
Function
vit_base_patch32_224_in21k
ViT-Base model (ViT-B/32) from original paper (https://arxiv.org/abs/2010.11929). ImageNet-21k weights @ 224x224, source https://github.com/googl
dualprompt-pgp/vision_transformer.py:1042
Function
vit_base_patch32_224_sam
ViT-Base (ViT-B/32) w/ SAM pretrained weights. Paper: https://arxiv.org/abs/2106.01548
l2p-pgp/vision_transformer.py:1021
Function
vit_base_patch32_224_sam
ViT-Base (ViT-B/32) w/ SAM pretrained weights. Paper: https://arxiv.org/abs/2106.01548
dualprompt-pgp/vision_transformer.py:1117
Function
vit_base_patch32_384
ViT-Base model (ViT-B/32) from original paper (https://arxiv.org/abs/2010.11929). ImageNet-1k weights fine-tuned from in21k @ 384x384, source htt
l2p-pgp/vision_transformer.py:798
Function
vit_base_patch32_384
ViT-Base model (ViT-B/32) from original paper (https://arxiv.org/abs/2010.11929). ImageNet-1k weights fine-tuned from in21k @ 384x384, source htt
dualprompt-pgp/vision_transformer.py:894
Function
vit_base_patch32_plus_256
ViT-Base (ViT-B/32+)
l2p-pgp/vision_transformer.py:1088
Function
vit_base_patch32_plus_256
ViT-Base (ViT-B/32+)
dualprompt-pgp/vision_transformer.py:1184
Function
vit_base_patch8_224
ViT-Base (ViT-B/8) from original paper (https://arxiv.org/abs/2010.11929). ImageNet-1k weights fine-tuned from in21k @ 224x224, source https://gi
l2p-pgp/vision_transformer.py:828
Function
vit_base_patch8_224
ViT-Base (ViT-B/8) from original paper (https://arxiv.org/abs/2010.11929). ImageNet-1k weights fine-tuned from in21k @ 224x224, source https://gi
dualprompt-pgp/vision_transformer.py:924
Function
vit_base_patch8_224_dino
ViT-Base (ViT-B/8) w/ DINO pretrained weights (no head) - https://arxiv.org/abs/2104.14294
l2p-pgp/vision_transformer.py:1057
Function
vit_base_patch8_224_dino
ViT-Base (ViT-B/8) w/ DINO pretrained weights (no head) - https://arxiv.org/abs/2104.14294
dualprompt-pgp/vision_transformer.py:1153
Function
vit_base_patch8_224_in21k
ViT-Base model (ViT-B/8) from original paper (https://arxiv.org/abs/2010.11929). ImageNet-21k weights @ 224x224, source https://github.com/google
l2p-pgp/vision_transformer.py:968
Function
vit_base_patch8_224_in21k
ViT-Base model (ViT-B/8) from original paper (https://arxiv.org/abs/2010.11929). ImageNet-21k weights @ 224x224, source https://github.com/google
dualprompt-pgp/vision_transformer.py:1064
Function
vit_giant_patch14_224
ViT-Giant model (ViT-g/14) from `Scaling Vision Transformers` - https://arxiv.org/abs/2106.04560
l2p-pgp/vision_transformer.py:895
Function
vit_giant_patch14_224
ViT-Giant model (ViT-g/14) from `Scaling Vision Transformers` - https://arxiv.org/abs/2106.04560
dualprompt-pgp/vision_transformer.py:991
Function
vit_gigantic_patch14_224
ViT-Gigantic model (ViT-G/14) from `Scaling Vision Transformers` - https://arxiv.org/abs/2106.04560
l2p-pgp/vision_transformer.py:904
Function
vit_gigantic_patch14_224
ViT-Gigantic model (ViT-G/14) from `Scaling Vision Transformers` - https://arxiv.org/abs/2106.04560
dualprompt-pgp/vision_transformer.py:1000
Function
vit_huge_patch14_224
ViT-Huge model (ViT-H/14) from original paper (https://arxiv.org/abs/2010.11929).
l2p-pgp/vision_transformer.py:886
Function
vit_huge_patch14_224
ViT-Huge model (ViT-H/14) from original paper (https://arxiv.org/abs/2010.11929).
dualprompt-pgp/vision_transformer.py:982
Function
vit_huge_patch14_224_in21k
ViT-Huge model (ViT-H/14) from original paper (https://arxiv.org/abs/2010.11929). ImageNet-21k weights @ 224x224, source https://github.com/googl
l2p-pgp/vision_transformer.py:1001
Function
vit_huge_patch14_224_in21k
ViT-Huge model (ViT-H/14) from original paper (https://arxiv.org/abs/2010.11929). ImageNet-21k weights @ 224x224, source https://github.com/googl
dualprompt-pgp/vision_transformer.py:1097
Function
vit_large_patch14_224
ViT-Large model (ViT-L/14)
l2p-pgp/vision_transformer.py:877
Function
vit_large_patch14_224
ViT-Large model (ViT-L/14)
dualprompt-pgp/vision_transformer.py:973
Function
vit_large_patch16_224
ViT-Large model (ViT-L/16) from original paper (https://arxiv.org/abs/2010.11929). ImageNet-1k weights fine-tuned from in21k @ 224x224, source ht
l2p-pgp/vision_transformer.py:857
Function
vit_large_patch16_224
ViT-Large model (ViT-L/16) from original paper (https://arxiv.org/abs/2010.11929). ImageNet-1k weights fine-tuned from in21k @ 224x224, source ht
dualprompt-pgp/vision_transformer.py:953
Function
vit_large_patch16_224_in21k
ViT-Large model (ViT-L/16) from original paper (https://arxiv.org/abs/2010.11929). ImageNet-21k weights @ 224x224, source https://github.com/goog
l2p-pgp/vision_transformer.py:990
Function
vit_large_patch16_224_in21k
ViT-Large model (ViT-L/16) from original paper (https://arxiv.org/abs/2010.11929). ImageNet-21k weights @ 224x224, source https://github.com/goog
dualprompt-pgp/vision_transformer.py:1086
Function
vit_large_patch16_384
ViT-Large model (ViT-L/16) from original paper (https://arxiv.org/abs/2010.11929). ImageNet-1k weights fine-tuned from in21k @ 384x384, source ht
l2p-pgp/vision_transformer.py:867
Function
vit_large_patch16_384
ViT-Large model (ViT-L/16) from original paper (https://arxiv.org/abs/2010.11929). ImageNet-1k weights fine-tuned from in21k @ 384x384, source ht
dualprompt-pgp/vision_transformer.py:963
Function
vit_large_patch32_224
ViT-Large model (ViT-L/32) from original paper (https://arxiv.org/abs/2010.11929). No pretrained weights.
l2p-pgp/vision_transformer.py:838
Function
vit_large_patch32_224
ViT-Large model (ViT-L/32) from original paper (https://arxiv.org/abs/2010.11929). No pretrained weights.
dualprompt-pgp/vision_transformer.py:934
Function
vit_large_patch32_224_in21k
ViT-Large model (ViT-L/32) from original paper (https://arxiv.org/abs/2010.11929). ImageNet-21k weights @ 224x224, source https://github.com/goog
l2p-pgp/vision_transformer.py:979
Function
vit_large_patch32_224_in21k
ViT-Large model (ViT-L/32) from original paper (https://arxiv.org/abs/2010.11929). ImageNet-21k weights @ 224x224, source https://github.com/goog
dualprompt-pgp/vision_transformer.py:1075
Function
vit_large_patch32_384
ViT-Large model (ViT-L/32) from original paper (https://arxiv.org/abs/2010.11929). ImageNet-1k weights fine-tuned from in21k @ 384x384, source ht
l2p-pgp/vision_transformer.py:847
Function
vit_large_patch32_384
ViT-Large model (ViT-L/32) from original paper (https://arxiv.org/abs/2010.11929). ImageNet-1k weights fine-tuned from in21k @ 384x384, source ht
dualprompt-pgp/vision_transformer.py:943
Function
vit_small_patch16_18x2_224
ViT-Small w/ LayerScale + 18 x 2 (36 block parallel) config. Experimental, may remove. Based on `Three things everyone should know about Vision T
l2p-pgp/vision_transformer.py:1128
Function
vit_small_patch16_18x2_224
ViT-Small w/ LayerScale + 18 x 2 (36 block parallel) config. Experimental, may remove. Based on `Three things everyone should know about Vision T
dualprompt-pgp/vision_transformer.py:1224
Function
vit_small_patch16_224
ViT-Small (ViT-S/16) NOTE I've replaced my previous 'small' model definition and weights with the small variant from the DeiT paper
l2p-pgp/models.py:27
Function
vit_small_patch16_224
ViT-Small (ViT-S/16) NOTE I've replaced my previous 'small' model definition and weights with the small variant from the DeiT paper
l2p-pgp/vision_transformer.py:768
Function
vit_small_patch16_224
ViT-Small (ViT-S/16) NOTE I've replaced my previous 'small' model definition and weights with the small variant from the DeiT paper
dualprompt-pgp/models.py:27
Function
vit_small_patch16_224
ViT-Small (ViT-S/16) NOTE I've replaced my previous 'small' model definition and weights with the small variant from the DeiT paper
dualprompt-pgp/vision_transformer.py:864
Function
vit_small_patch16_224_dino
ViT-Small (ViT-S/16) w/ DINO pretrained weights (no head) - https://arxiv.org/abs/2104.14294
l2p-pgp/vision_transformer.py:1030
Function
vit_small_patch16_224_dino
ViT-Small (ViT-S/16) w/ DINO pretrained weights (no head) - https://arxiv.org/abs/2104.14294
dualprompt-pgp/vision_transformer.py:1126
Function
vit_small_patch16_224_in21k
ViT-Small (ViT-S/16) ImageNet-21k weights @ 224x224, source https://github.com/google-research/vision_transformer. NOTE: this model has valid
l2p-pgp/vision_transformer.py:935
Function
vit_small_patch16_224_in21k
ViT-Small (ViT-S/16) ImageNet-21k weights @ 224x224, source https://github.com/google-research/vision_transformer. NOTE: this model has valid
dualprompt-pgp/vision_transformer.py:1031
Function
vit_small_patch16_36x1_224
ViT-Base w/ LayerScale + 36 x 1 (36 block serial) config. Experimental, may remove. Based on `Three things everyone should know about Vision Tran
l2p-pgp/vision_transformer.py:1117
Function
vit_small_patch16_36x1_224
ViT-Base w/ LayerScale + 36 x 1 (36 block serial) config. Experimental, may remove. Based on `Three things everyone should know about Vision Tran
dualprompt-pgp/vision_transformer.py:1213
Function
vit_small_patch16_384
ViT-Small (ViT-S/16) NOTE I've replaced my previous 'small' model definition and weights with the small variant from the DeiT paper
l2p-pgp/vision_transformer.py:778
Function
vit_small_patch16_384
ViT-Small (ViT-S/16) NOTE I've replaced my previous 'small' model definition and weights with the small variant from the DeiT paper
dualprompt-pgp/vision_transformer.py:874
Function
vit_small_patch32_224
ViT-Small (ViT-S/32)
l2p-pgp/vision_transformer.py:750
Function
vit_small_patch32_224
ViT-Small (ViT-S/32)
dualprompt-pgp/vision_transformer.py:846
Function
vit_small_patch32_224_in21k
ViT-Small (ViT-S/16) ImageNet-21k weights @ 224x224, source https://github.com/google-research/vision_transformer. NOTE: this model has valid
l2p-pgp/vision_transformer.py:924
Function
vit_small_patch32_224_in21k
ViT-Small (ViT-S/16) ImageNet-21k weights @ 224x224, source https://github.com/google-research/vision_transformer. NOTE: this model has valid
dualprompt-pgp/vision_transformer.py:1020
Function
vit_small_patch32_384
ViT-Small (ViT-S/32) at 384x384.
l2p-pgp/vision_transformer.py:759
Function
vit_small_patch32_384
ViT-Small (ViT-S/32) at 384x384.
dualprompt-pgp/vision_transformer.py:855
Function
vit_small_patch8_224_dino
ViT-Small (ViT-S/8) w/ DINO pretrained weights (no head) - https://arxiv.org/abs/2104.14294
l2p-pgp/vision_transformer.py:1039
Function
vit_small_patch8_224_dino
ViT-Small (ViT-S/8) w/ DINO pretrained weights (no head) - https://arxiv.org/abs/2104.14294
dualprompt-pgp/vision_transformer.py:1135
Function
vit_tiny_patch16_224
ViT-Tiny (Vit-Ti/16)
l2p-pgp/models.py:18
Function
vit_tiny_patch16_224
ViT-Tiny (Vit-Ti/16)
l2p-pgp/vision_transformer.py:732
Function
vit_tiny_patch16_224
ViT-Tiny (Vit-Ti/16)
dualprompt-pgp/models.py:18
Function
vit_tiny_patch16_224
ViT-Tiny (Vit-Ti/16)
dualprompt-pgp/vision_transformer.py:828
Function
vit_tiny_patch16_224_in21k
ViT-Tiny (Vit-Ti/16). ImageNet-21k weights @ 224x224, source https://github.com/google-research/vision_transformer. NOTE: this model has vali
l2p-pgp/vision_transformer.py:913
Function
vit_tiny_patch16_224_in21k
ViT-Tiny (Vit-Ti/16). ImageNet-21k weights @ 224x224, source https://github.com/google-research/vision_transformer. NOTE: this model has vali
dualprompt-pgp/vision_transformer.py:1009
Function
vit_tiny_patch16_384
ViT-Tiny (Vit-Ti/16) @ 384x384.
l2p-pgp/vision_transformer.py:741
Function
vit_tiny_patch16_384
ViT-Tiny (Vit-Ti/16) @ 384x384.
dualprompt-pgp/vision_transformer.py:837
← previous
401–467 of 467, ranked by callers