PanOrgan 2 β€” Multi-Cohort Joint Foundation Model (3 Core Cohorts)

Project Title: The Pan-Organ Diagnostic Paradigm: A High-Capacity Foundation Model for Multi-Modality Medical Screening (Pan-Organ Net)

Overview

First unified multi-cohort PanOrganNetV2 release trained on Apple M4 MPS with MA-UGM self-supervised pretraining, temperature scaling, and MC2 conformal prediction.

  • Supported Modalities: MRI, CT, Ultrasound (US)
  • Training Cohorts (3): prostatex_mri, kidney_ct_mri, ultrasound_nerve
  • Backbone: PanOrganNetV2 (defined in modeling_panorgan.py)
  • Checkpoint: best.pt
  • Full Evaluation JSON: thesis_report.json

Quantitative Evaluation Results (from thesis_report.json)

Segmentation Performance (Held-Out Test)

Cohort Samples Mean Dice IoU HD95 (mm)
busi - None None None
tcga_lgg - None None None
overall - None None None

Classification & Calibration

Metric Uncalibrated Calibrated
macro_f1 0.6011 0.6011
accuracy 0.6982 0.6982
ece 0.1296 0.1609
brier 0.4304 0.4208

MC2 Conformal Coverage (alpha = 0.10)

Cohort Test n Marginal Coverage Avg Set Size Abstention Rate
per_group - None None None

Included Files

  • best.pt β€” Trained PyTorch checkpoint weights
  • config.json β€” Model configuration, modality list, and release metadata
  • modeling_panorgan.py β€” PanOrganNetV2 PyTorch model definition
  • thesis_report.json β€” Full held-out test metrics, conformal coverage, and calibration data
  • figures/ β€” Diagnostic and evaluation plots (7 PNG figures)

Evaluation Figures

  • v2_classification_metrics.png
  • v2_conformal_coverage.png
  • v2_confusion_matrix.png
  • v2_evaluation_plots.png
  • v2_mnar_stress.png
  • v2_segmentation_dice.png
  • v2_train_val_loss.png

Quick Usage (PyTorch)

import torch
from huggingface_hub import hf_hub_download

ckpt_path = hf_hub_download(repo_id="theshoaibme/PanOrgan-2", filename="best.pt")
state = torch.load(ckpt_path, map_location="cpu", weights_only=False)
print("Loaded keys:", list(state.keys()) if isinstance(state, dict) else type(state))
Downloads last month
21
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support