AI SeedbankHelp preserve open and free AI for humanity's future

← All models

iitolstykh_mivolo_v2

iitolstykh · View on Hugging Face ↗

Get this model

Download TorrentMagnet Link

Seeders: · Leechers:

Model card

The complete upstream card, rendered from this payload's README.md — the same hash-verified bytes the torrent distributes. Images and off-site links are removed; the original card on Hugging Face carries them.


arxiv: 2403.02302 license: apache-2.0 library_name: mivolo

Model Card for MiVOLO V2 model

🤗 Space | 🌐 Github | 📜 MiVOLO Paper (2023) 📜 MiVOLO Paper (2024)

We introduce state-of-the-art multi-input transformer for age and gender estimation.

This model was trained on proprietary and open-source datasets.

MiVOLO V1 (224x224) architecture:

Inference Requirements and Model Introduction

  • Resolution: Width and height of face/body crops must be 384px
  • Precision: FP32 / FP16
  • mivolo library
pip install git+https://github.com/WildChlamydia/MiVOLO.git
  • transformers==4.51.0
  • accelerate==1.8.1

Quick start

from transformers import AutoModelForImageClassification, AutoConfig, AutoImageProcessor
import torch
import cv2
import numpy as np
import requests

# load model and image processor
config = AutoConfig.from_pretrained(
    "iitolstykh/mivolo_v2", trust_remote_code=True
)
mivolo_model = AutoModelForImageClassification.from_pretrained(
    "iitolstykh/mivolo_v2", trust_remote_code=True, torch_dtype=torch.float16
)
image_processor = AutoImageProcessor.from_pretrained(
    "iitolstykh/mivolo_v2", trust_remote_code=True
)

# download test image
resp = requests.get('https://variety.com/wp-content/uploads/2023/04/MCDNOHA_SP001.jpg')
arr = np.asarray(bytearray(resp.content), dtype=np.uint8)
image = cv2.imdecode(arr, -1)

# face crops
x1, y1, x2, y2 = [625,  46, 686, 121]
faces_crops = [image[y1:y2, x1:x2]]  # may be [None] if bodies_crops is not None

# body crops
x1, y1, x2, y2 = [534,  16, 790, 559]
bodies_crops = [image[y1:y2, x1:x2]]  # may be [None] if faces_crops is not None

# prepare BGR inputs
faces_input = image_processor(images=faces_crops)["pixel_values"]
body_input = image_processor(images=bodies_crops)["pixel_values"]

faces_input = faces_input.to(dtype=mivolo_model.dtype, device=mivolo_model.device)
body_input = body_input.to(dtype=mivolo_model.dtype, device=mivolo_model.device)

# inference
output = mivolo_model(faces_input=faces_input, body_input=body_input)

# print results
age = output.age_output[0].item()
print(f"age: {round(age, 2)}")

id2label = config.gender_id2label
gender = id2label[output.gender_class_idx[0].item()]
gender_prob = output.gender_probs[0].item()
print(f"gender: {gender} [{int(gender_prob * 100)}%]")

Model Metrics

Model Test Dataset Age Accuracy Gender Accuracy
mivolov2_384x384 (fp16) Adience 70.2 97.3

Citation

🌟 If you find our work helpful, please consider citing our papers and leaving valuable stars

@article{mivolo2023,
   Author = {Maksim Kuprashevich and Irina Tolstykh},
   Title = {MiVOLO: Multi-input Transformer for Age and Gender Estimation},
   Year = {2023},
   Eprint = {arXiv:2307.04616},
}
@article{mivolo2024,
   Author = {Maksim Kuprashevich and Grigorii Alekseenko and Irina Tolstykh},
   Title = {Beyond Specialization: Assessing the Capabilities of MLLMs in Age and Gender Estimation},
   Year = {2024},
   Eprint = {arXiv:2403.02302},
}

Magnet link

Opens the swarm directly in your torrent client — no file download needed. Copy-paste works too:

magnet:?xt=urn:btih:39359d18779bcf43b3a906079d6ae3056adf80eb&dn=iitolstykh_mivolo_v2

Open magnet in torrent client · infohash 39359d18779bcf43b3a906079d6ae3056adf80eb

Files & hashes

PathSizesha1sha256
README.md3.7 KB (3,828 B)e8a03b72c2d7e4fafa428d4031aa529d8484f5625eb6055b7edbd4dac4f1c72825c9d40f528ea0a91849a2ae10ff8053cc0af401
config.json924 B (924 B)c2dce8c0afe44a2c76dac4920fd3ca1226fa7af9aa273722873361e4e77b0cea20d02311eb5bf39e521d8a09c66a5365d4ec4e9c
configuration_mivolo.py1.4 KB (1,462 B)3ae438adb9dca597dac3720af27c0e4f75e40a4357f3d4192625d1d1d73c60ba8777de24a1a868455e90e889e68eeb84c4b14ff9
icon.jpg34.4 KB (35,268 B)bca0e7a557cea37f1f45bb3c1ffa1188786847c01305c4fb5bed00d81c75be6c1cb8a3fd0f3b10bb3159e8bf9a5aec16f3705f14
mivolo_image_processor.py1.5 KB (1,513 B)265cc0755f00f09f67504408be04db751a6813b62e553f2b7f80223061f957e6d0ad6df009d5c5904b81836777701dce622d6311
model.safetensors109.7 MB (115,078,528 B)7c0cfc69853781910988c4b95a9af3f8132dc44496efb47051c038ebeec74b73b4253c5fd000433e5afcab7deee0bd8f3fa7bf18
modeling_mivolo.py5.1 KB (5,255 B)1e2d135ddcdf13c375c718d274eea65df8768fde051b3b83cc1829d1d646dde2a0d65b73847afb34841c27cf61dfbdd79c7c8f4b
preprocessor_config.json96 B (96 B)6b8e061067397764ba3843fbffce2d0cd29a09c9e89b04cf5516faf28a434f5ee098281ef5d0e52c942b5d85b240bf89be32c567
requirements.txt150 B (150 B)811272c0b2a90430370335364e1ca1f80f4015c763fcf66d781224f166bce1c91d0d9188f386c1110ca23b09789a558fd0029d95

Cite this release

Canonical URL
https://aiseedbank.org/models/iitolstykh_mivolo_v2/
Slug
iitolstykh_mivolo_v2
Infohash
39359d18779bcf43b3a906079d6ae3056adf80eb
License
apache-2.0
Signing key fingerprint
85a3b32c3712427b

Every file carries a locally computed sha256 — verify a download against the signed sums: iitolstykh_mivolo_v2.SHA256SUMS (+ minisign signature).

Provenance

Upstream repositoryiitolstykh/mivolo_v2
Revision (pinned)53393526c220e34cdd7b722b36d22b6f9e5f4241
Fetched at2026-09-04T00:52:43Z
License at fetchapache-2.0
Snapshot toolhuggingface · seedbank 0.1.0

Trackers

✓ verified · rehash-vs-hf-metadata at 2026-09-04T00:52:47Z

apache-2.0109.8 MB (115,127,024 bytes)mivolosafetensorscustom_codepaper: 2307.04616paper: 2403.02302