Skip to content

Commit 9f603d6

Browse files
Remove legacy compatibility for ViT_H_14 model
Co-authored-by: Vasilis Vryniotis <[email protected]>
1 parent 9ff5a76 commit 9f603d6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

torchvision/models/vision_transformer.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,6 @@ def vit_l_32(*, weights: Optional[ViT_L_32_Weights] = None, progress: bool = Tru
554554
)
555555

556556

557-
@handle_legacy_interface(weights=("pretrained", ViT_H_14_Weights.IMAGENET1K_SWAG_V1))
558557
def vit_h_14(*, weights: Optional[ViT_H_14_Weights] = None, progress: bool = True, **kwargs: Any) -> VisionTransformer:
559558
"""
560559
Constructs a vit_h_14 architecture from

0 commit comments

Comments
 (0)