A CLIP based image feature model. Supervisely pre-trained on animal re-identification datasets.
Original model: timm/vit_large_patch14_clip_336.openai_ft_in12k_in1k
Model Details
Model Type:
Animal re-identification / feature backbone
Model Stats:
Params (M): 304.5
GMACs: 174.7
Activations (M): 128.2
Image size: 336 x 336
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-CLIP-336", pretrained=True)
model = model.eval()
transforms = T.Compose([T.Resize(336),
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-CLIP-336 on huggingface.co
1.3K
Total runs
246
24-hour runs
715
3-day runs
1.1K
7-day runs
1.3K
30-day runs
More Information About MegaDescriptor-CLIP-336 huggingface.co Model
MegaDescriptor-CLIP-336 huggingface.co is an AI model on huggingface.co that provides MegaDescriptor-CLIP-336's model effect (), which can be used instantly with this BVRA MegaDescriptor-CLIP-336 model. huggingface.co supports a free trial of the MegaDescriptor-CLIP-336 model, and also provides paid use of the MegaDescriptor-CLIP-336. Support call MegaDescriptor-CLIP-336 model through api, including Node.js, Python, http.
MegaDescriptor-CLIP-336 huggingface.co is an online trial and call api platform, which integrates MegaDescriptor-CLIP-336's modeling effects, including api services, and provides a free online trial of MegaDescriptor-CLIP-336, you can try MegaDescriptor-CLIP-336 online for free by clicking the link below.
BVRA MegaDescriptor-CLIP-336 online free url in huggingface.co:
MegaDescriptor-CLIP-336 is an open source model from GitHub that offers a free installation service, and any user can find MegaDescriptor-CLIP-336 on GitHub to install. At the same time, huggingface.co provides the effect of MegaDescriptor-CLIP-336 install, users can directly use MegaDescriptor-CLIP-336 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
MegaDescriptor-CLIP-336 install url in huggingface.co: