PrimateFace Models (v1.0.0)

Official pretrained model weights for PrimateFace v1.0.0, a standardized benchmark and model suite for non-human primate facial analysis spanning 69 primate genera across all 6 primate superfamilies (240,241 images; 291,231 verified face boxes; 221,570 independent group-disjoint image clusters).

Backward Compatibility (v0.1.0 Legacy Files Untouched): All original v0.1.0 weights and configs remain untouched at the repository root under detection/ and pose/ (git tag v0.1.0) so existing KordingLab/PrimateFace@v0.1.0 installations and variant="cascade_rcnn_v1" continue to work without breaking changes. All canonical 80/10/10 release artifacts live under v1.0.0/.


v1.0.0/ Model Weights Inventory & Benchmarks

All v1.0.0 models were trained and evaluated on the canonical group-disjoint 80/10/10 split (detection test set: 23,897 images / 28,912 boxes; 68-landmark test set: 15,814 faces; genus classification test set: 11,149 faces). Total size of the 9 weight files is 2,133,926,432 bytes (2.13 GB / 1.99 GiB).

HF Repo Path Task / Framework Size (Bytes) Human Size License Canonical 80/10/10 Test Benchmark SHA-256
v1.0.0/detection/primateface_rfdetr_m_v1.0.0.pth Face Detection (RF-DETR-M, epoch-6 EMA) 137,348,140 137.35 MB Apache-2.0 AP 0.6704, AP@50 0.9608, AP@75 0.7735 (n=28,912 boxes); LILA BC null-image FPR 0.00% (0/600) at thr=0.70 8338a1ec7447cc06b52ba0e84f8d164fc6164b83a45c58012f95f5573f557472
v1.0.0/pose/primateface_vitpose_l_v1.0.0.pth 68-Landmark Pose (MMPose ViTPose-L) 1,234,371,791 1.23 GB Apache-2.0 Median NME 0.58% (0.5787%, 95% CI [0.574%, 0.583%], p95 1.294%; n=15,814 faces) 2f8e8cc0a70a45f5eb0fed1dbe897ab4c365007294a971db8832f5fd68bff3d0
v1.0.0/pose/primateface_rtmpose_m_v1.0.0.pth 68-Landmark Pose (MMPose RTMPose-M) 62,414,436 62.41 MB Apache-2.0 Median NME 0.71% (0.7061%, 95% CI [0.700%, 0.713%], p95 1.638%; n=15,814 faces) 8c8a9d5fa361b8efb2aa5d0fc0005cb2194133154c9e57349fa3333ae02ee7a2
v1.0.0/pose/primateface_hrnet_w18_v1.0.0.pth 68-Landmark Pose (MMPose HRNetV2-W18-DARK) 41,053,339 41.05 MB Apache-2.0 Median NME 0.85% (0.8470%, 95% CI [0.841%, 0.854%], p95 1.825%; n=15,814 faces) 3f0a134c2ae3bf581fdd4d7eba19b93ea4380aa5fb995e10ec7491892fe81d32
v1.0.0/classification/primateface_genus_convnext_s_v1.0.0.pth 69-Genus Classifier (ConvNeXt-Small) 198,146,109 198.15 MB BSD-3-Clause Top-1 95.95%, Top-5 98.75% (n=11,149 faces); 55-genus macro-F1 0.9457; ECE 0.0135 (T=0.8358); 97.61% Top-1 on source-labeled subset (n=8,747) 8a8beae58c7c681e2323ef398c725f93fe002df81070f65e349cd8946243397c
v1.0.0/converter/primateface_68to48_procrustes_krr_v1.0.0.npz 68↔48 Landmark Converter (Procrustes RBF KRR) 2,599,818 2.60 MB MIT 2.86%–2.88% IOD (68β†’48, 5-fold date-disjoint CV across 3 backbones, n=539 frames); 1.81% IOD (48β†’68); pure NumPy (allow_pickle=False) 798997729ca67cd957c8fd1c91e93d8e15725f1ce7f7c23dfd2de7178bbcc664
v1.0.0/cross_platform/dlc3_rtmpose_m_v1.0.0.pt 68-Landmark Pose (DeepLabCut 3.0.2 RTMPose-M) 62,413,003 62.41 MB LGPL-3.0 / Apache-2.0 Median NME 0.62% (0.6217%, 95% CI [0.615%, 0.626%], p95 1.510%; n=15,814 faces) b813af80d951e92aad65c7d1ba080ca1c40b6293b3a7e10feeefff22a495afb4
v1.0.0/cross_platform/lp2_resnet18_v1.0.0.ckpt 68-Landmark Pose (Lightning Pose 2.0 ResNet-18) 45,267,743 45.27 MB MIT Median NME 0.85% (0.8534%, 95% CI [0.847%, 0.861%], p95 2.076%; n=15,814 faces) 2a07229ebc7ab4a78fb8e4693b1ddeb694c2819e28778a4728a6a877b5ceb927
v1.0.0/cross_platform/sleap_convnext_tiny_v1.0.0.ckpt 68-Landmark Pose (SLEAP-NN ConvNeXt-Tiny) 350,312,053 350.31 MB BSD-3-Clause Median NME 1.09% (1.0859%, 95% CI [1.077%, 1.094%], p95 2.665%; n=15,814 faces) 871eb38e981df7bc079fa55a7c5bb7e36313b592d02123219c03b99fb7078fce

MMPose Companion Config Files (v1.0.0/pose/)

The three MMPose 68-landmark checkpoints pair with their Apache-2.0 architecture configs used by primateface.ModelManager:

HF Repo Path Size (Bytes) License SHA-256
v1.0.0/pose/vitpose_l_68kpt_v1.0.0_config.py 2,878 Apache-2.0 1bac6ce4b1ef92007508c3796480de87a28f045dbf9d73b1730dec20a489eea8
v1.0.0/pose/hrnetv2_w18_dark_68kpt_v1.0.0_config.py 3,477 Apache-2.0 593ab0599594ed6b330bd7be8ddfdb49200e402fa6935c775d1631ccf55f9d53
v1.0.0/pose/rtmpose_m_68kpt_v1.0.0_config.py 3,221 Apache-2.0 634c6794089659dcc94adc8b84f6261888e76ac8caf4bfbb125e5018fe0d356d

Legacy v0.1.0 Files (Untouched at Repository Root)

Preserved at root detection/ and pose/ for backward compatibility with KordingLab/PrimateFace@v0.1.0 and variant="cascade_rcnn_v1":

HF Repo Path Size (Bytes) Human Size SHA-256
detection/cascade_rcnn_r101_fpn.pth 356,343,798 356.34 MB 215e347181bfd504e5eeb6a62b425b5980fbae499ef102197eb380cf4f52d06b
detection/cascade_rcnn_r101_fpn_config.py 13,498 13.5 KB β€” (Git text)
pose/hrnetv2_w18_dark_68kpt.pth 39,614,235 39.61 MB 4a639cbc07973a1c6cd3792f5068fd53e187cf89b1b932dfb05b149a365c1d97
pose/hrnetv2_w18_dark_68kpt_config.py 25,001 25.0 KB β€” (Git text)
pose/vitpose_base_68kpt.pth 1,250,293,593 1.25 GB bf97eea97098458868a8e1798d16b605a0ca208f5031a357240bf25e28bf75f4
pose/vitpose_base_68kpt_config.py 14,989 15.0 KB β€” (Git text)

Usage

Automatic Download via primateface

from primateface import PrimateFace

# Downloads v1.0.0 RF-DETR-M detector + ViTPose-L 68-landmark model and verifies SHA-256
pf = PrimateFace(pose_variant="vitpose")
faces = pf.analyze("macaque.jpg")

Direct Download via huggingface_hub

from huggingface_hub import hf_hub_download

det_ckpt = hf_hub_download(
    repo_id="fparodi/primateface-models",
    subfolder="v1.0.0/detection",
    filename="primateface_rfdetr_m_v1.0.0.pth",
)
pose_ckpt = hf_hub_download(
    repo_id="fparodi/primateface-models",
    subfolder="v1.0.0/pose",
    filename="primateface_vitpose_l_v1.0.0.pth",
)

Citation

If you use these models or benchmarks, please cite the PrimateFace v1.0.0 archival release:

@dataset{parodi2026primateface,
  author    = {Parodi, Felipe and collaborators},
  title     = {PrimateFace v1.0.0: dataset manifests, Tier-1 open images, model weights, and Source Data},
  year      = {2026},
  publisher = {Zenodo},
  version   = {v1.0.0},
  doi       = {10.5281/zenodo.24690050},
  url       = {https://doi.org/10.5281/zenodo.24690050}
}
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Dataset used to train fparodi/primateface-models