Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
library_name: onnx
|
| 4 |
+
tags:
|
| 5 |
+
- medical-imaging
|
| 6 |
+
- segmentation
|
| 7 |
+
- onnx
|
| 8 |
+
- onnxruntime-web
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
# ngplatform models
|
| 12 |
+
|
| 13 |
+
ONNX exports of two medical segmentation models, made to run in the browser with ONNX Runtime Web by
|
| 14 |
+
[ngplatform](https://github.com/AllenInstitute/ngplatform)'s segmentation tool. Weights are stored as float16
|
| 15 |
+
(cast to float32 in the graph). These are conversions only: the models, their training and their weights are the
|
| 16 |
+
original authors' work, redistributed under their Apache-2.0 licence.
|
| 17 |
+
|
| 18 |
+
| Folder | Model | Original | Licence |
|
| 19 |
+
|---|---|---|---|
|
| 20 |
+
| `sammed3d/` | SAM-Med3D-turbo: 3-D segmentation from points on a 128³ crop at 1.5 mm (encoder 187 MB, decoder 15 MB) | [uni-medical/SAM-Med3D](https://github.com/uni-medical/SAM-Med3D), weights [blueyo0/SAM-Med3D](https://huggingface.co/blueyo0/SAM-Med3D) | Apache-2.0 |
|
| 21 |
+
| `medsam2/` | MedSAM2 (SAM 2.1 Hiera-tiny fine-tuned on medical images): a section from a box or clicks, tracked through a volume (four graphs, 86 MB) | [bowang-lab/MedSAM2](https://github.com/bowang-lab/MedSAM2), weights [wanglab/MedSAM2](https://huggingface.co/wanglab/MedSAM2) | Apache-2.0 |
|
| 22 |
+
|
| 23 |
+
Each folder's `manifest.json` lists its files, their sizes and a version (a hash of the files).
|
| 24 |
+
|
| 25 |
+
How they were made and checked against the original PyTorch models: `tools/sammed3d/` and `tools/medsam2/` in the
|
| 26 |
+
ngplatform repository. Not for clinical use.
|
| 27 |
+
|
| 28 |
+
## Citations
|
| 29 |
+
|
| 30 |
+
- Wang H. et al., *SAM-Med3D: Towards General-purpose Segmentation Models for Volumetric Medical Images*, 2023.
|
| 31 |
+
arXiv:2310.15161.
|
| 32 |
+
- Ma J. et al., *MedSAM2: Segment Anything in 3D Medical Images and Videos*, 2025. arXiv:2504.03600.
|