Skip to content

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.json bundles.

Shared Pretrained Models Folder & Community 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)

Annotated frame from the Annolid open-field 6-object olfactory holeboard mouse dataset showing mouse, object, wall, and corner classes

# 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)

Animated multi-animal polygon, 14-keypoint skeleton, and behavior tracking demo on mouse083_task1_annotator1

annolid-run model-zoo download cutie_base_mega_vos

3. Multi-Animal Anatomical Body-Part Segmentation (Head / Torso / Tail / Limbs)

Side-by-side comparison of 3D ground truth vs Annolid predicted head, torso, and tail body-part segmentation on two interacting mice

annolid-run model-zoo download cutie_sam3_bodyparts_vos

4. Pair-Bonding & Multi-Animal Home-Cage Occlusion (Prairie Voles / Side View)

Side-view home-cage tracking of two interacting prairie voles with overlapping masks

annolid-run model-zoo download videomt_vits_onnx_vos

5. Three-Chamber Social Preference & Conditioned Place Preference

Side-view three-chamber social preference segmentation showing Mouse, MouseNose, MouseTailbase, LeftMouse, and RightMouse

Two-chamber conditioned place preference arena with chamber and stimulus polygons

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)

Mouse frame annotated with anatomical keypoints snout, tailbase, rightear, and leftear

annolid-run model-zoo download tapnext_onnx_point_tracker

7. Dense Multi-Animal Counting, Microscopy & Monocular 3D Depth


8. Sim-to-Real Pretraining for Custom Arenas (Zero Manual Labels to Start)

Two-Mouse 3D behavioral simulation arena used for zero-label Sim-to-Real pretraining

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:

  1. Structured Model Zoo folders (recommended):
~/.annolid/models/
  open_field_mouse_yolo11s/
    model_card.json
    best.pt
    preview.png
  1. 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 Model catalog 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:

  1. Label 20–50 diverse frames from your videos (use Annolid's smart K-means / embedding frame sampling to avoid redundant consecutive frames).
  2. Start from a pretrained checkpoint instead of training from scratch:
  3. 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).
  4. CLI:

    annolid-run train yolo \
      --data /path/to/your_small_dataset \
      --weights ~/.annolid/models/open_field_lab_a/best.pt \
      --preset small_dataset
    
  5. 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:

  1. Package your checkpoint with annolid-run model-zoo export (or AI & Models → Pretrained Model Zoo… → Export Shareable Bundle…). This generates a verified model_card.json (including SHA-256 checksum, exact class/keypoint list, species, camera view, and fine-tuning notes) plus a README.md.
  2. Upload the weights (and an optional small example dataset or video clip) to Zenodo, Hugging Face Hub, GitHub Releases, or Google Drive.
  3. Open a pull request adding your entry to annolid/configs/model_zoo.json and docs/model_zoo.md (with an example image under docs/imgs/), or open an issue on healthonrails/annolid with the generated model_card.json and public download URL.