Model reference · open weights

miewid-msv2

Embeddings conservationxlabs Embeddings 1 build Licence not stated 529 dl/mo

miewid-msv2 is an open-weight embedding model from conservationxlabs. miewid-msv2 (FP32) weighs 103 MB; the smallest configuration that runs it is RTX 3060 12 GB.

For self-hosting, compare this build's requirements below with the GPU you plan to rent.

  • MiewID-msv2 is a feature extraction model developed by conservationxlabs for the re-identification of wildlife individuals.
  • It was trained using contrastive learning on a dataset covering 54 terrestrial and aquatic species, including fins, flukes, flanks, and faces.
  • The model contains 51.11 million parameters and processes images at a resolution of 440 by 440 pixels.

Summary of the conservationxlabs/miewid-msv2 model card, 2026-10-01

What it is

Released byconservationxlabs
Released2024-07-02
Parameters51M
VRAM103 MB for the weights

What it runs on

Memory and cards for miewid-msv2 (FP32)

103 MBweights, file size
1.1 GBruntime overhead
CardRunsMemory
RTX 3060 12 GBfits11.6 GB
RTX 4060 Ti 16 GBfits15.4 GB
RTX 3090 24 GBfits23.4 GB
RTX 4090 24 GBfits23.4 GB
RTX 5090 32 GBfits31.0 GB
L40S 48 GBfits44.0 GB
A100 80 GBfits78.2 GB
H100 80 GBfits78.1 GB
RTX PRO 6000 Blackwell 96 GBfits93.8 GB
DGX Spark (GB10) 128 GB unifiedfits107 GB
H200 141 GBfits138 GB
B200 180 GBfits176 GB

From the model card

What conservationxlabs says about miewid-msv2

Read the model card

Model Description

MiewID-msv2 is a feature extractor trained for re-identification using contrastive learning on a large, high-quality dataset of 54 wildlife species - terrestrial and aquatic - including fins, flukes, flanks, faces.

  • Model Type: Wildlife re-identification feature backbone
  • Model Stats:
    • Params (M): 51.11
    • GMACs: 24.38
    • Activations (M): 91.11
    • Image size: 440 x 440

Model Sources [optional]

  • Repository: https://github.com/WildMeOrg/wbia-plugin-miew-id
  • Backbone: https://huggingface.co/timm/efficientnetv2_rw_m.agc_in1k

Usage

Intended use is re-identification of individuals from different species by matching against a database of grount-truth samples. Model features can also be used for species classification by retrieval.

Embedding Extraction

import numpy as np
from PIL import Image
import torch
import torchvision.transforms as transforms
from transformers import AutoModel

model_tag = f"conservationxlabs/miewid-msv2"
model = AutoModel.from_pretrained(model_tag, trust_remote_code=True)

def generate_random_image(height=440, width=440, channels=3):
    random_image = np.random.randint(0, 256, (height, width, channels), dtype=np.uint8)
    return Image.fromarray(random_image)

random_image = generate_random_image()

preprocess = transforms.Compose([
    transforms.Resize((440, 440)),
    transforms.ToTensor(),
    transforms.Normalize(mean=[0.485, 0.456, 0.406], std=[0.229, 0.224, 0.225]),
])

input_tensor = preprocess(random_image)
input_batch = input_tensor.unsqueeze(0)

with torch.no_grad():
    output = model(input_batch)

print(output)
print(output.shape)

More Examples

View more usage examples at https://github.com/WildMeOrg/wbia-plugin-miew-id/tree/main/wbia_miew_id/examples

Training Details

Training Data

The dataset used for these experiments was a combination of data from Wildbook platforms (multiple users), Happywhale Kaggle competitions multi-species dataset and multiple publicly available datasets. A small subset of data from Wildbook platforms is available at https://lila.science/datasets.

Example images

Evaluation Results

The multi-species model shows improvements over models trained on single species. Moreover the model shows strong generalization ability for majority of the species when trained and evaluated in a leave-one-out fashion.

Detailed results

Sourcegroupmaprank-1rank-5rank-10rank-20viewpointsn_test_annotsn_test_namesn_train_annotsn_train_names
Wildbookamur_tiger91.8100.0100.0100.0100.0['left', 'right']2334769175
Wildbookbeluga_whale61.3671.8581.6385.5189.28['up']8492282767354
Happywhaleblue_whale36.9838.6855.1161.5269.04['unknown']9983921185339
Wildbookbottlenose_dolphin85.6993.9996.1896.8597.52['right', 'left']4911838116071062
Happywhalebrydes_whale69.9680.9592.8695.24100.0['unknown']4298115
Lomas Capuchincapuchin34.847.9768.5876.6985.14['front']29635170829
Wildbookcheetah57.3771.1584.9287.8792.13['left', 'right']6241391522144
Wildbookchimpanzee94.7100.0100.0100.0100.0['unknown']5281389
C-Taichimpanzee_ctai51.6769.6483.6889.1894.12['front']52763268044
C-Zoochimpanzee_czoo77.6686.6793.3397.599.17['front']24024125817
Happywhalecommersons_dolphin0.00.00.00.00.0['unknown']10572
Happywhalecuviers_beaked_whale52.8955.7175.7182.8690.0['unknown']7028

Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.

© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms