BehaVERT pose models

Two 12-keypoint mouse pose models (Ultralytics YOLO) from the BehaVERT project (Shin et al., International Journal of Computer Vision 2026, doi:10.1007/s11263-026-02834-y). The behavior models are in ShinSeungJ/behavert.

Model Setting Architecture Animals per frame Recommended settings
oft-pose/ top-view open field, one mouse YOLOv12-small pose 1 conf 0.05, iou 0.7, max_det 1, imgsz 1440
sbea-pose/ SBeA social recordings, two mice, per camera view YOLO12-medium pose 2 imgsz 1504, max_det 2

Each folder holds model.pt and config.json (keypoint names and these settings).

Both models predict the same 12 keypoints:

Index Keypoint Index Keypoint
0 nose 6 tail base
1 left ear 7 left hindlimb / hindpaw
2 right ear 8 right hindlimb / hindpaw
3 thoracic center 9 tail middle
4 left forelimb / forepaw 10 tail tip
5 right forelimb / forepaw 11 body center

Use

With BehaVERT β€” oft-pose feeds the oft-behavior model, so a video goes to behavior in one step:

pip install "behavert[pose] @ git+https://github.com/ShinSeungJ/BehaVERT"
behavert decode --video my_videos/ --model oft-behavior --overlay

Directly with Ultralytics:

from huggingface_hub import hf_hub_download
from ultralytics import YOLO

model = YOLO(hf_hub_download("ShinSeungJ/behavert-pose", "model.pt", subfolder="oft-pose"))
for r in model.predict("video.mp4", conf=0.05, iou=0.7, max_det=1, imgsz=1440, stream=True):
    xy = r.keypoints.xyn[0]      # [12, 2] normalized x, y of the mouse

The models detect each mouse independently in every frame; with several mice, keeping track of which mouse is which across frames (and camera views) is left to the user.

Training

  • oft-pose: hand-annotated frames of single mice in a top-view open field (image size 1440).
  • sbea-pose: hand-annotated frames from the Social Behavior Atlas (SBeA) recordings (Han et al., Nature Machine Intelligence 2024; image size 1504), used for our 3D reconstruction of SBeA recordings. Please also cite the SBeA paper when using it.

License

AGPL-3.0, as required for models trained with Ultralytics.

Downloads last month
-
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support