Add README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,110 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: pytorch
|
| 3 |
+
pipeline_tag: image-segmentation
|
| 4 |
+
license: apache-2.0
|
| 5 |
+
datasets:
|
| 6 |
+
- ksanchez84/LUTSeg
|
| 7 |
+
tags:
|
| 8 |
+
- medical
|
| 9 |
+
- semantic-segmentation
|
| 10 |
+
- semi-supervised-learning
|
| 11 |
+
- dinov2
|
| 12 |
+
- medsiglip
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
# TiSage Segmentation Checkpoints
|
| 16 |
+
|
| 17 |
+
Paper checkpoints for **TiSage: Tissue Segmentation with Multi-Scale Semantic
|
| 18 |
+
Guidance**, released with the code and reproducibility material at
|
| 19 |
+
[carlosh93/TiSage](https://github.com/carlosh93/TiSage). The paper was selected
|
| 20 |
+
as a **Spotlight** at the Eleventh ISIC Skin Image Analysis Workshop @ MICCAI
|
| 21 |
+
2026.
|
| 22 |
+
|
| 23 |
+
## Files
|
| 24 |
+
|
| 25 |
+
| Checkpoint | Dataset | Method | Paper setting |
|
| 26 |
+
|---|---|---|---|
|
| 27 |
+
| `lutseg_tisage_1_8_seed0_best.pth` | LUTSeg | TiSage | 1/8 labeled, seed 0 |
|
| 28 |
+
| `lutseg_unimatch_v2_1_8_seed0_best.pth` | LUTSeg | UniMatch-V2 | 1/8 labeled, seed 0 |
|
| 29 |
+
| `dfutissue_tisage_fixed_seed2_best.pth` | DFUTissue | TiSage | fixed/full supervision split, seed 2 |
|
| 30 |
+
| `dfutissue_unimatch_v2_fixed_seed1_best.pth` | DFUTissue | UniMatch-V2 | fixed/full supervision split, seed 1 |
|
| 31 |
+
|
| 32 |
+
Each file contains `model`, `model_ema`, optimizer state, epoch, and validation
|
| 33 |
+
selection metadata. TiSage evaluation defaults to `model_ema`; pass an explicit
|
| 34 |
+
state to the evaluator when comparing student and teacher weights. The LUTSeg
|
| 35 |
+
pair is also used by the repository's Figure 4 reproduction script.
|
| 36 |
+
|
| 37 |
+
## Download
|
| 38 |
+
|
| 39 |
+
```python
|
| 40 |
+
from huggingface_hub import hf_hub_download
|
| 41 |
+
|
| 42 |
+
checkpoint = hf_hub_download(
|
| 43 |
+
repo_id="ksanchez84/TiSage",
|
| 44 |
+
filename="lutseg_tisage_1_8_seed0_best.pth",
|
| 45 |
+
local_dir="method/checkpoints/downloaded",
|
| 46 |
+
)
|
| 47 |
+
print(checkpoint)
|
| 48 |
+
```
|
| 49 |
+
|
| 50 |
+
Download every released checkpoint with:
|
| 51 |
+
|
| 52 |
+
```python
|
| 53 |
+
from huggingface_hub import snapshot_download
|
| 54 |
+
|
| 55 |
+
snapshot_download(
|
| 56 |
+
repo_id="ksanchez84/TiSage",
|
| 57 |
+
local_dir="method/checkpoints/downloaded",
|
| 58 |
+
)
|
| 59 |
+
```
|
| 60 |
+
|
| 61 |
+
Verify the files with `segmentation_checkpoints.sha256` from this model
|
| 62 |
+
repository or the TiSage code repository.
|
| 63 |
+
|
| 64 |
+
## Evaluation
|
| 65 |
+
|
| 66 |
+
Clone the [TiSage repository](https://github.com/carlosh93/TiSage), install its
|
| 67 |
+
requirements, download LUTSeg, and run:
|
| 68 |
+
|
| 69 |
+
```bash
|
| 70 |
+
python method/eval/evaluate_checkpoint.py \
|
| 71 |
+
--config method/configs/tisage_lutseg.yaml \
|
| 72 |
+
--checkpoint method/checkpoints/downloaded/lutseg_tisage_1_8_seed0_best.pth
|
| 73 |
+
```
|
| 74 |
+
|
| 75 |
+
The public LUTSeg release has a patient-disjoint validation set and no separate
|
| 76 |
+
public test split. The evaluator reports per-class IoU and Dice plus their
|
| 77 |
+
means on the 30-image validation set.
|
| 78 |
+
|
| 79 |
+
## Architecture and Training
|
| 80 |
+
|
| 81 |
+
The segmentation network is a DINOv2-Base DPT model. TiSage trains it in an EMA
|
| 82 |
+
teacher-student framework using frozen MedSigLIP semantic guidance and the
|
| 83 |
+
small dataset-specific prior heads committed in the code repository. MedSigLIP
|
| 84 |
+
parameters are not included in these checkpoint files.
|
| 85 |
+
|
| 86 |
+
Exact configurations, selected seeds, launch commands, result evidence, and
|
| 87 |
+
the bounded training check are maintained in the TiSage repository. LUTSeg is
|
| 88 |
+
available at [ksanchez84/LUTSeg](https://huggingface.co/datasets/ksanchez84/LUTSeg).
|
| 89 |
+
|
| 90 |
+
## Intended Use
|
| 91 |
+
|
| 92 |
+
These checkpoints support research reproduction and non-clinical exploration
|
| 93 |
+
of wound-tissue segmentation. They are not medical devices and must not be used
|
| 94 |
+
alone for diagnosis or treatment. Results may not transfer to other patient
|
| 95 |
+
populations, institutions, cameras, wound etiologies, or acquisition settings.
|
| 96 |
+
|
| 97 |
+
## License and Attribution
|
| 98 |
+
|
| 99 |
+
The checkpoint release is distributed under Apache License 2.0 because it
|
| 100 |
+
contains DINOv2-derived backbone parameters. TiSage code remains MIT licensed,
|
| 101 |
+
and datasets retain their own terms. Training used the gated
|
| 102 |
+
[`google/medsiglip-448`](https://huggingface.co/google/medsiglip-448) model as a
|
| 103 |
+
frozen prior; its parameters are not redistributed here. See `NOTICE.md` for
|
| 104 |
+
the complete attribution and scope.
|
| 105 |
+
|
| 106 |
+
## Citation
|
| 107 |
+
|
| 108 |
+
Please cite *LUTSeg: A Longitudinal Multi-Expert Dataset for Ulcer Tissue
|
| 109 |
+
Segmentation*, Eleventh ISIC Skin Image Analysis Workshop @ MICCAI 2026. Final
|
| 110 |
+
proceedings metadata will be added when the bibliographic record is public.
|