Instructions to use pcuenq/vit_large_patch14_dinov2.lvd142m with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- timm
How to use pcuenq/vit_large_patch14_dinov2.lvd142m with timm:
import timm model = timm.create_model("hf_hub:pcuenq/vit_large_patch14_dinov2.lvd142m", pretrained=True) - Transformers
How to use pcuenq/vit_large_patch14_dinov2.lvd142m with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-feature-extraction", model="pcuenq/vit_large_patch14_dinov2.lvd142m")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("pcuenq/vit_large_patch14_dinov2.lvd142m", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "architecture": "vit_large_patch14_dinov2", | |
| "num_classes": 0, | |
| "num_features": 1024, | |
| "global_pool": "token", | |
| "pretrained_cfg": { | |
| "tag": "lvd142m", | |
| "custom_load": false, | |
| "input_size": [ | |
| 3, | |
| 518, | |
| 518 | |
| ], | |
| "fixed_input_size": true, | |
| "interpolation": "bicubic", | |
| "crop_pct": 1.0, | |
| "crop_mode": "center", | |
| "mean": [ | |
| 0.485, | |
| 0.456, | |
| 0.406 | |
| ], | |
| "std": [ | |
| 0.229, | |
| 0.224, | |
| 0.225 | |
| ], | |
| "num_classes": 0, | |
| "pool_size": null, | |
| "first_conv": "patch_embed.proj", | |
| "classifier": "head", | |
| "license": "cc-by-nc-4.0" | |
| } | |
| } |