A DINOv2 based image feature model. Supervisely pre-trained on animal re-identification datasets.
Original model: timm/vit_large_patch14_dinov2.lvd142m
Model Details
Model Type:
Animal re-identification / feature backbone
Model Stats:
Params (M): 304.4
GMACs: 507.1
Activations (M): 1058.8
Image size: 518 x 518
Model Usage
Image Embeddings
import timm
import torch
import torchvision.transforms as T
from PIL import Image
from urllib.request import urlopen
model = timm.create_model("hf-hub:BVRA/MegaDescriptor-DINOv2-518", pretrained=True)
model = model.eval()
transforms = T.Compose([T.Resize(518),
T.ToTensor(),
T.Normalize([0.485, 0.456, 0.406], [0.229, 0.224, 0.225])])
img = Image.open(urlopen(
'https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/beignets-task-guide.png'
))
output = model(transforms(img).unsqueeze(0)) # output is (batch_size, num_features) shaped tensor# output is a (1, num_features) shaped tensor
Citation
@inproceedings{vcermak2024wildlifedatasets,
title={WildlifeDatasets: An open-source toolkit for animal re-identification},
author={{\v{C}}erm{\'a}k, Vojt{\v{e}}ch and Picek, Lukas and Adam, Luk{\'a}{\v{s}} and Papafitsoros, Kostas},
booktitle={Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision},
pages={5953--5963},
year={2024}
}
Runs of BVRA MegaDescriptor-DINOv2-518 on huggingface.co
28.6K
Total runs
936
24-hour runs
4.0K
3-day runs
8.8K
7-day runs
26.7K
30-day runs
More Information About MegaDescriptor-DINOv2-518 huggingface.co Model
More MegaDescriptor-DINOv2-518 license Visit here:
MegaDescriptor-DINOv2-518 huggingface.co is an AI model on huggingface.co that provides MegaDescriptor-DINOv2-518's model effect (), which can be used instantly with this BVRA MegaDescriptor-DINOv2-518 model. huggingface.co supports a free trial of the MegaDescriptor-DINOv2-518 model, and also provides paid use of the MegaDescriptor-DINOv2-518. Support call MegaDescriptor-DINOv2-518 model through api, including Node.js, Python, http.
MegaDescriptor-DINOv2-518 huggingface.co is an online trial and call api platform, which integrates MegaDescriptor-DINOv2-518's modeling effects, including api services, and provides a free online trial of MegaDescriptor-DINOv2-518, you can try MegaDescriptor-DINOv2-518 online for free by clicking the link below.
BVRA MegaDescriptor-DINOv2-518 online free url in huggingface.co:
MegaDescriptor-DINOv2-518 is an open source model from GitHub that offers a free installation service, and any user can find MegaDescriptor-DINOv2-518 on GitHub to install. At the same time, huggingface.co provides the effect of MegaDescriptor-DINOv2-518 install, users can directly use MegaDescriptor-DINOv2-518 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
MegaDescriptor-DINOv2-518 install url in huggingface.co: