Object Detection
Transformers
Safetensors
surgical-video
spatio-temporal-grounding
medical-vision-language-model
eccv-2026
Instructions to use linzher/RefineRank with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use linzher/RefineRank with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("object-detection", model="linzher/RefineRank")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("linzher/RefineRank", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -30,20 +30,22 @@ returns the highest-scoring original or refined box.
|
|
| 30 |
## Contents
|
| 31 |
|
| 32 |
This repo hosts the complete `checkpoints/` tree expected by the code
|
| 33 |
-
repository:
|
| 34 |
|
| 35 |
```
|
| 36 |
checkpoints/
|
| 37 |
-
βββ vlm/
|
|
|
|
|
|
|
| 38 |
βββ grounding_dino/
|
| 39 |
-
β βββ groundingdino_swinb_cogcoor.pth
|
| 40 |
-
βββ refinenet/
|
| 41 |
-
βββ
|
| 42 |
βββ deployment_manifest.json
|
| 43 |
```
|
| 44 |
|
| 45 |
-
- `refinenet/
|
| 46 |
-
paper's MedVidBench submission
|
| 47 |
`932e479b854c3d5fbafee25a3fcf9e6481e864fe98a6867502d6ebff39463d9b`.
|
| 48 |
- `vlm/` and `grounding_dino/` are **third-party frozen weights**
|
| 49 |
([uAI-NEXUS-MedVLM](https://huggingface.co/UII-AI) by UII-AI and
|
|
@@ -62,7 +64,7 @@ git clone https://github.com/linzhe001/RefineRank
|
|
| 62 |
cd RefineRank
|
| 63 |
pip install -r requirements.txt
|
| 64 |
# place the downloaded checkpoints/ next to interface.py, then:
|
| 65 |
-
python interface.py predict # auto-discovers checkpoints/refinenet/
|
| 66 |
```
|
| 67 |
|
| 68 |
## Citation
|
|
|
|
| 30 |
## Contents
|
| 31 |
|
| 32 |
This repo hosts the complete `checkpoints/` tree expected by the code
|
| 33 |
+
repository β three flat folders, each holding its core files directly:
|
| 34 |
|
| 35 |
```
|
| 36 |
checkpoints/
|
| 37 |
+
βββ vlm/ # frozen MedVLM, HF format (~16 GB)
|
| 38 |
+
β βββ config.json, generation_config.json, tokenizer*, preprocessor_config.json, ...
|
| 39 |
+
β βββ model-00001..00004-of-00004.safetensors
|
| 40 |
βββ grounding_dino/
|
| 41 |
+
β βββ groundingdino_swinb_cogcoor.pth # frozen GroundingDINO SwinB (~895 MB)
|
| 42 |
+
βββ refinenet/ # trained RefineNet, this work (~5 MB)
|
| 43 |
+
βββ proposal_adapter_full.pt # SHA-256: 932e479bβ¦463d9b
|
| 44 |
βββ deployment_manifest.json
|
| 45 |
```
|
| 46 |
|
| 47 |
+
- `refinenet/proposal_adapter_full.pt` is the exact checkpoint behind the
|
| 48 |
+
paper's MedVidBench submission (`run_iter132_submission`). SHA-256:
|
| 49 |
`932e479b854c3d5fbafee25a3fcf9e6481e864fe98a6867502d6ebff39463d9b`.
|
| 50 |
- `vlm/` and `grounding_dino/` are **third-party frozen weights**
|
| 51 |
([uAI-NEXUS-MedVLM](https://huggingface.co/UII-AI) by UII-AI and
|
|
|
|
| 64 |
cd RefineRank
|
| 65 |
pip install -r requirements.txt
|
| 66 |
# place the downloaded checkpoints/ next to interface.py, then:
|
| 67 |
+
python interface.py predict # auto-discovers checkpoints/refinenet/
|
| 68 |
```
|
| 69 |
|
| 70 |
## Citation
|