MekaNet Weights
This repository hosts the weight artifacts of the MekaNet release: the megakaryocyte detector, the segmentation models of the outline extension, the tissue models, the candidate verifier, and the comparator detector used in the validation on locked images.
The same files, with their licence texts, are archived on Zenodo under the DOI 10.5281/zenodo.24096423 (https://doi.org/10.5281/zenodo.24096423), which becomes active when the manuscript is submitted.
Included artifacts
| File | What | SHA-256 |
|---|---|---|
epoch60.pt | MekaNet detector: YOLOv8-large, tile-trained, epoch 60; applied by sliced inference | dc3b411530457815219a6549587cf18f57590e4d77c859597c9647d176568d53 |
segmentation/expanded | Cellpose-SAM cell (outer) model, fine-tuned on reviewed megakaryocyte outlines | ad039860e9d8faef0bcec3423a6d487e34c1c3519892c13fb95873c82cc4e672 |
segmentation/nucleus_expanded | Cellpose-SAM nucleus model, fine-tuned on reviewed megakaryocyte nuclei | c7214a839f805ee4d128baae5ed16d3260c73e8c03705ccb6911ff35e0aeca4d |
verifier/verifier_round2.pt | MiT-b0 crop verifier that scores segmentation candidates | b3a650412361274b8971cb4e9afad7a90fa669f4ae7eed4fab351cdbe578c276 |
comparator/yolo11l_last.pt | Comparator detector: YOLO11-large trained on 45 reviewed development images | 4000b5c629b6a8c12406daab8012ff3a8554d41b1b404d0784260729c115f42f |
comparator/verifier.pt | Comparator crop verifier (MiT-b0, two scales) with calibration temperature 1.1708; detections kept at a calibrated score ≥ 0.20 | becd2541aa81ed46960e9a82627144b7f90de07b500eab57da57d83f56e72038 |
segformer/segformer_three_reviewed_v1.pt | SegFormer-B0 tissue model: excluded areas (outside or bone), hematopoietic marrow, fat | 79f2b50189b531f32ecb51a4758382959e4d833b95a47436ea383da865c8e599 |
segformer/tissue_roi_segformer_v1.pt | SegFormer-B0 tissue model: tissue versus outside the section | 45fad423e847bc0c9a768e4921cfb97a3160dfd74ee62d49a6d148059a9dc1cb |
The outline models, the verifier and the comparator (the five files other than epoch60.pt and the tissue models) match the SHA-256 checksums recorded in the pre-specified analysis plans of the source repository, which were committed before the readers' decisions on the locked images were opened. The two tissue models match the checksums recorded with the tissue maps of the 168 study images.
Provenance
- Source code repository:
LeGenAI/mekanet-release - Training images are not distributed. The checkpoints hold model weights and training settings only, with no image identifiers or labels.
- Base models: Ultralytics YOLOv8 and YOLO11 (the checkpoints carry Ultralytics' AGPL-3.0 notice), Cellpose-SAM, NVIDIA MiT-b0 (SegFormer encoder) and NVIDIA SegFormer-B0 (ADE20K).
License
Each file keeps the licence of the model it was trained from (see LICENSE, changed 2026-11-09 from the earlier single review licence):
epoch60.ptandcomparator/yolo11l_last.pt: GNU Affero General Public License v3.0 (LICENSE-AGPL-3.0.txt), as for Ultralytics YOLO.segmentation/expandedandsegmentation/nucleus_expanded: Creative Commons Attribution 4.0 International; Cellpose-SAM's BSD 3-Clause notice is inLICENSE-Cellpose-BSD-3-Clause.txt.verifier/verifier_round2.pt,comparator/verifier.ptand the two tissue models insegformer/: NVIDIA Source Code License for SegFormer (LICENSE-NVIDIA-SegFormer.txt), which permits research or evaluation use only.
The weights are not a medical device and have not been validated for clinical diagnosis or patient care. This notice adds no restriction to the licences above.
Usage
from mekanet.models.yolo_sahi import YoloSahiDetector
detector = YoloSahiDetector("epoch60.pt", confidence_threshold=0.15, device="cpu")
The manuscript applies the detector to 640-px slices with overlap 0.2 at a confidence threshold of 0.15.
The Cellpose-SAM models load with cellpose.models.CellposeModel(pretrained_model=path). The verifiers and the comparator are loaded by the analysis code in the source repository (mekanet_v2/).
Notes
- These weights are distributed separately from the main code repository to keep the public code release lightweight and reviewer-friendly.
- The main repository uses a manifest-driven downloader and checksum verification (
weights/download_weights.py).