Views
No views yet
| Subfolder | What it is | Grounding |
|---|---|---|
detection/ | RadGrounder, token‑based bounding‑box grounding | boxes generated as text tokens |
segmentation/ | RadGrounder + lightweight mask decoder | <seg> spans → binary masks |
siglip/ | the fine‑tuned SigLIP vision encoder (.ckpt) | — (only needed to train new models; the two checkpoints above already embed their encoder) |
training_config.json (the exact training recipe).hf download lmb-freiburg/radgrounder --local-dir models # or --include "detection/*"transformers. The
segmentation model uses a custom GroundedGemmaForConditionalGeneration class, so load it
with the RadGrounder code (run from
radgrounder/grounded_gemma/, as the repo's run_eval_*.sh do):1# detection — stock transformers
2from transformers import PaliGemmaForConditionalGeneration
3m = PaliGemmaForConditionalGeneration.from_pretrained("models/detection")
4
5# segmentation — needs the RadGrounder code on the path
6from modeling_groundedgemma import GroundedGemmaForConditionalGeneration
7m = GroundedGemmaForConditionalGeneration.from_pretrained("models/segmentation")Ging, Salcan, Schirrmeister, Arnold, Kotter, Bozorgtabar, Brox. Scalable Training of Spatially Grounded 2D Vision–Language Models for Radiology.