Pretrained Model Zoo & Behavioral Paradigms¶
Annolid organizes pretrained checkpoints, zero-training foundation models, and lab-contributed weights by behavioral paradigm and stores local checkpoints in a single shared folder (~/.annolid/models/, overridable with ANNOLID_MODELS_DIR).
Use this zoo to:
- Skip training altogether when a pretrained model or 1-frame seed tracker already covers your species and assay.
- Fine-tune with far fewer annotated images (typically 20–50 representative frames) when adapting an existing paradigm checkpoint to your own camera angle, lighting, or arena geometry.
- Share your trained models across lab machines or with the broader research community as self-contained
model_card.jsonbundles.
Shared Pretrained Models Folder & Community Drive
- Local shared models folder:
~/.annolid/models/(override viaANNOLID_MODELS_DIR) - GUI browser: AI & Models → Pretrained Model Zoo…
- CLI browser:
annolid-run model-zoo list - Shared Google Drive folder: annolid_pretrained_models (Google Drive)
- Example COCO dataset (
novelctrlk6_8): Download from Google Drive
Behavioral Paradigm Matrix¶
| Behavioral Paradigm / Situation | Species & View | Recommended Pretrained Model(s) | Training Needed? | Model Zoo ID / Weights |
|---|---|---|---|---|
| Open Field & 6-Object Olfactory Holeboard | Mouse (top-down) | Detectron2 Mask R-CNN (model_final.pth), Cutie, YOLO11s-seg |
No (or 20–50 frames to fine-tune) | open_field_holeboard_mouse_maskrcnn |
| Resident-Intruder Home-Cage Social Interaction | Two mice (top/oblique) | Cutie Base Mega (cutie-base-mega.pth), Cutie Compact (cutie-sam3-bodyparts.pth), DINOv3 / FastPose |
No (1 seed frame) | cutie_base_mega_vos |
| Multi-Animal Anatomical Body-Part Segmentation | Mouse, rat, vole, fly (any) | Cutie Compact SAM 3.1 + DINOv3 Distilled (cutie-sam3-bodyparts.pth, 30.3 MB) |
No (1 seed frame) | cutie_sam3_bodyparts_vos |
| Pair-Bonding & Multi-Animal Occlusion (Home Cage) | Prairie voles, 4+ mice (side/top) | Cutie Base Mega, VideoMT ViT-S ONNX (videomt_yt_2019_vit_small_52.8.onnx) |
No (1 seed frame) | videomt_vits_onnx_vos |
| Three-Chamber Social Preference & Place Preference | Mouse (side/top) | GroundingDINO ONNX (groundingdino_swinb_cogcoor_quant.onnx) + EfficientViT-SAM L0 ONNX + Cutie |
No (text/click seed) | groundingdino_swinb_onnx, efficientvit_sam_l0_onnx |
| Sparse Anatomical Keypoints & Pose Tracking | Mouse, rat, fly (any) | TAPNext ONNX (tapnext.onnx), DINOv3 Keypoints, YOLO26s-pose, FastPose |
No (or few-shot fine-tune) | tapnext_onnx_point_tracker, yolo26s_pose_finetune_base |
| Dense Multi-Animal Arenas & Repeated Objects | Drosophila, mice, pellets (top-down) | CountGD (checkpoint_best_regular.pth), YOLO11s-seg |
No (text/exemplar) or few-shot | countgd_dense_counting |
| Microscopy, Histology & Cell Segmentation | Cells / tissue (microscopy) | MEDIAR Phase 1 & Phase 2 (from_phase1.pth, from_phase2.pth) |
No | mediar_microscopy_cell_seg |
| Monocular Rearing Height & 3D Lifting | Mouse, rat, fly (any) | Video Depth Anything Small (video_depth_anything_vits.pth) |
No | video_depth_anything_vits |
| Custom Arenas (EPM, Morris Water Maze, Y-Maze, Thermal) | Mouse, rat, fly (any) | YOLO11s-seg / YOLO26s-pose + Sim-to-Real 3D bootstrapping | Few-shot (20–50 frames) or synthetic | yolo11s_seg_finetune_base, yolo26s_pose_finetune_base |
Behavioral Paradigm Showcase¶
1. Open Field & 6-Object Olfactory Holeboard (Mouse)¶

- Paradigm: Top-down open-field arena with six recessed circular odor/stimulus ports (
novelctrlk6_8), tracking locomotion, wall/corner thigmotaxis, and object investigation bouts. - Classes:
mouse,object,wall,corner. - Pretrained weights:
- Detectron2 Mask R-CNN
model_final.pth(Google Drive) — hosted in the sharedannolid_pretrained_modelsDrive folder. - Example COCO dataset
novelctrlk6_8(Google Drive). - Download & use:
# Install optional Google Drive downloader if not present, then download into ~/.annolid/models/
annolid-run model-zoo download open_field_holeboard_mouse_maskrcnn
# Or adapt to a new arena camera with 20–50 labeled frames using YOLO11s-seg
annolid-run train yolo --data /path/to/open_field_dataset --weights yolo11s-seg.pt --preset small_dataset
2. Resident-Intruder Home-Cage Social Interaction & 14-Keypoint Pose (Two Mice)¶
![]()
- Paradigm: Tethered black resident and white intruder interacting in a home cage (
mouse083_task1_annotator1, 4,881 frames @ 30 FPS), combining whole-body polygons, 7 keypoints per mouse, proximity metrics, and social ethogram bouts (investigation,mount,other). - Pretrained weights:
- Cutie Base Mega
cutie-base-mega.pth(GitHub Release v1.0, 133.9 MB, MD5 verified) · Google Drive mirror - Cutie Compact SAM 3.1 + DINOv3
cutie-sam3-bodyparts.pth(GitHub Release v1.6.10, 30.3 MB, SHA-256 verified) - Video demo & full walkthrough:
- Tracking four interacting mice with one labeled frame (YouTube)
- Resident-Intruder End-to-End Walkthrough (
mouse083_task1_annotator1) - Download:
annolid-run model-zoo download cutie_base_mega_vos
3. Multi-Animal Anatomical Body-Part Segmentation (Head / Torso / Tail / Limbs)¶

- Paradigm: Hierarchical intra-instance anatomical sub-region tracking (
head,torso,tail, paws, ears, or attached telemetry/miniscope hardware) across huddling, curled, and interacting animals. - Pretrained weights:
- Cutie Compact SAM 3.1 + DINOv3
cutie-sam3-bodyparts.pth(GitHub Release v1.6.10, 30.3 MB, SHA-2569327fe2eec8b...) — 55% fewer parameters and 1.5x–2.7x faster propagation than dense Cutie while improving held-out body-partJ&Ffrom0.7798to0.8127. - Guide: Instance Body Part Segmentation.
- Download:
annolid-run model-zoo download cutie_sam3_bodyparts_vos
4. Pair-Bonding & Multi-Animal Home-Cage Occlusion (Prairie Voles / Side View)¶
![]()
- Paradigm: Side-view home-cage social tracking of pair-bonding voles and multi-mouse groups through bedding, huddling, and frequent partial body occlusion.
- Video demo: Multiple animal tracking with partial occlusion in voles (YouTube).
- Pretrained weights:
- Cutie Base Mega
cutie-base-mega.pth(PyTorch GPU/MPS/CPU) - VideoMT ViT-Small ONNX
videomt_yt_2019_vit_small_52.8.onnx(GitHub Release v1.6.1, 93.1 MB, SHA-256 verified) — pure ONNX Runtime option requiring no PyTorch. - Download:
annolid-run model-zoo download videomt_vits_onnx_vos
5. Three-Chamber Social Preference & Conditioned Place Preference¶


- Paradigm: Three-chamber sociability assays (test mouse + wire pencil cups containing
LeftMouse/RightMouse) and two-chamber place preference arenas under standard or red-light illumination. - Pretrained weights (zero-shot seeding + tracking):
- GroundingDINO Swin-B Quantized ONNX
groundingdino_swinb_cogcoor_quant.onnx(GitHub Release v1.1.3, 258.9 MB, MD5 verified) · Google Drive mirror - EfficientViT-SAM L0 ONNX Encoder (
v1.1.3, 117.4 MB) + Decoder (v1.1.3, 15.7 MB) - Guides: Zone Analysis and Zone Analysis Workflow.
- Download:
annolid-run model-zoo download groundingdino_swinb_onnx
annolid-run model-zoo download efficientvit_sam_l0_onnx
6. Sparse Anatomical Keypoint & Pose Tracking (Mouse / Rat / Fly)¶

- Paradigm: Tracking named anatomical landmarks (
snout,leftear,rightear,neck,tailbase, limbs, wings) without training a full pose network, or bootstrapping a reusable cohort pose model. - Pretrained weights:
- TAPNext ONNX
tapnext.onnx(GitHub Release v1.6.6, 938.7 MB, SHA-256 verified) - DINOv3 backbones: prefetch via
annolid-run dinov3-models --list - Few-shot reusable pose models:
yolo26s_pose_finetune_base(YOLO26s-pose) or FastPose Studio (AI & Models → FastPose Studio…) - Guides: TAPNext ONNX, DINOv3 Keypoint Tracking, Pose Estimation Workflow, and FastPose Studio Tutorial.
- Download:
annolid-run model-zoo download tapnext_onnx_point_tracker
7. Dense Multi-Animal Counting, Microscopy & Monocular 3D Depth¶
- Dense small-animal / repeated object counting (e.g. Drosophila arenas, food pellets, pups):
- CountGD
checkpoint_best_regular.pth(GitHub Release v1.2.0, 1.19 GB) annolid-run model-zoo download countgd_dense_counting- Microscopy & cell instance segmentation (brightfield / fluorescence / histology):
- MEDIAR Phase 1
from_phase1.pth(Google Drive, MD5 verified) and MEDIAR Phase 2from_phase2.pth(Google Drive, MD5 verified) (mirrored in the shared Drive folder) annolid-run model-zoo download mediar_microscopy_cell_seg- Monocular video depth & 2D→3D behavioral lifting (rearing height, 3D arenas):
- Video Depth Anything Small
video_depth_anything_vits.pth(Hugging Face) annolid-run model-zoo download video_depth_anything_vits(see Video Depth Anything)
8. Sim-to-Real Pretraining for Custom Arenas (Zero Manual Labels to Start)¶

If your exact arena (Elevated Plus Maze, Morris Water Maze, Y-Maze, Light-Dark Box, Three-Chamber, Home Cage, or Drosophila arena) does not yet have a dedicated community checkpoint, Annolid can synthesize domain-randomized training data from its offline 3D digital twins and pretrain a starter model before fine-tuning on 20–50 real frames:
Using the Shared Local Pretrained Models Folder (~/.annolid/models/)¶
Annolid maintains a dedicated local folder for pretrained and lab-shared models:
- Default path:
~/.annolid/models/ - Custom path override (for shared lab storage / NAS / HPC):
export ANNOLID_MODELS_DIR=/path/to/shared_lab_models
Annolid automatically discovers both layouts inside this folder:
- Structured Model Zoo folders (recommended):
~/.annolid/models/
open_field_mouse_yolo11s/
model_card.json
best.pt
preview.png
- Simple drop-in weight files:
~/.annolid/models/
my_lab_open_field.pt
cutie_custom_mice.pth
arena_detector.onnx
Any model downloaded or placed in ~/.annolid/models/ becomes automatically discoverable in:
- AI & Models → Pretrained Model Zoo… (with one-click Use in Toolbar, Run Inference…, and Fine-Tune…)
- More models… (
Choose AI Modelcatalog dialog under Pretrained Model Zoo) - Training Wizard and Inference Wizard quick-pick dropdowns (for YOLO checkpoints)
annolid-run model-zoo list
Command-Line Reference (annolid-run model-zoo)¶
# 1. Inspect (or create) the local pretrained models folder
annolid-run model-zoo dir --create
# 2. Browse available models by paradigm, species, or task
annolid-run model-zoo list
annolid-run model-zoo list --species mouse --paradigm "open field"
annolid-run model-zoo list --installed
# 3. Inspect full metadata, checksums, dataset links, and usage commands
annolid-run model-zoo info cutie_sam3_bodyparts_vos
# 4. Download a verified pretrained checkpoint into ~/.annolid/models/
annolid-run model-zoo download cutie_sam3_bodyparts_vos
# 5. Install a trained lab checkpoint (file or run folder) into ~/.annolid/models/
annolid-run model-zoo install /path/to/runs/yolo/open_field/weights/best.pt \
--id open_field_lab_a \
--name "Open-Field Mouse YOLO11s-seg (Lab A)" \
--paradigm "Open Field & Object Investigation" \
--species mouse \
--camera-view top-down \
--classes mouse,object,wall,corner \
--preview /path/to/example_frame.png
# 6. Export a shareable Model Zoo bundle (model_card.json + README.md + SHA-256 + weights)
annolid-run model-zoo export /path/to/runs/yolo/open_field \
--output ./shareable_open_field_model \
--name "Open-Field Mouse YOLO11s-seg (Lab A)" \
--paradigm "Open Field & Object Investigation" \
--species mouse \
--preview /path/to/example_frame.png
# 7. Remove a locally installed copy from ~/.annolid/models/
annolid-run model-zoo remove open_field_lab_a
Few-Shot Fine-Tuning With Fewer Annotated Images¶
When a pretrained model is close to your recording setup but needs adaptation to your lighting, coat color, bedding, or arena walls:
- Label 20–50 diverse frames from your videos (use Annolid's smart K-means / embedding frame sampling to avoid redundant consecutive frames).
- Start from a pretrained checkpoint instead of training from scratch:
- GUI: Open AI & Models → Pretrained Model Zoo…, select your model, and click Fine-Tune…. Annolid opens the Training Wizard pre-filled with that checkpoint and the
Small Lab Dataset (Fine-tune)preset (freeze=10, AdamW,lr0=0.002, cosine LR). -
CLI:
annolid-run train yolo \ --data /path/to/your_small_dataset \ --weights ~/.annolid/models/open_field_lab_a/best.pt \ --preset small_dataset -
Review predictions on a held-out video, correct only the failure frames, add them to your dataset, and repeat one short fine-tuning pass.
See YOLO & YOLOE Fine-Tuning and Inference and Google Colab Training and Inference for cloud-GPU training options.
Contributing Your Trained Model to the Annolid Model Zoo¶
Labs and collaborators can contribute pretrained models for any behavioral paradigm:
- Package your checkpoint with
annolid-run model-zoo export(or AI & Models → Pretrained Model Zoo… → Export Shareable Bundle…). This generates a verifiedmodel_card.json(including SHA-256 checksum, exact class/keypoint list, species, camera view, and fine-tuning notes) plus aREADME.md. - Upload the weights (and an optional small example dataset or video clip) to Zenodo, Hugging Face Hub, GitHub Releases, or Google Drive.
- Open a pull request adding your entry to
annolid/configs/model_zoo.jsonanddocs/model_zoo.md(with an example image underdocs/imgs/), or open an issue on healthonrails/annolid with the generatedmodel_card.jsonand public download URL.