Publish README.md from learning_curve_100pct_20260625_183546_best.ckpt
Browse files
README.md
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- lithic-scar-segmentation
|
| 4 |
+
- onnx
|
| 5 |
+
- neurolithic
|
| 6 |
+
library_name: onnx
|
| 7 |
+
---
|
| 8 |
+
|
| 9 |
+
# neurolithic/unet_v2
|
| 10 |
+
|
| 11 |
+
ONNX export of the neurolithic lithic-scar segmentation model
|
| 12 |
+
(UNet++ / EfficientNet-B5, 6-channel input, soft-edge output).
|
| 13 |
+
|
| 14 |
+
Used directly in-browser by the `lithicjs` web app (onnxruntime-web). The model is the
|
| 15 |
+
2D segmentation network applied to 6 orthographic renders of a
|
| 16 |
+
PCA-aligned mesh at 512x512; per-view predictions are back-projected
|
| 17 |
+
and merged on the mesh client-side.
|
| 18 |
+
|
| 19 |
+
**Source checkpoint:** `learning_curve_100pct_20260625_183546_best.ckpt`
|
| 20 |
+
|
| 21 |
+
**Files:**
|
| 22 |
+
- `model_fp32.onnx`
|
| 23 |
+
- `model_fp16.onnx`
|
| 24 |
+
- `config.json` — input/inference metadata (channels, resolution, views, etc.)
|
| 25 |
+
|
| 26 |
+
The exported graph bakes in the per-channel input/output normalization (the checkpoint's
|
| 27 |
+
real transform stats), so it matches the PyTorch `predict` path exactly. fp32 is exact;
|
| 28 |
+
fp16 is ~half the size with a small accuracy trade-off.
|