Update README.md
Browse files58 unmodified lines5960616262636465666768686970697071729 unmodified lines828384868586878842 unmodified lines13113213313513413513613713813914214014114214311 unmodified lines15515615716015815916016 unmodified lines1771781791831801811821833 unmodified lines1871881891931901911921961931941951967 unmodified lines20420520621020720820921021121221621321421521671 unmodified lines28828929029429129229329448 unmodified lines343344345349346347348349125 unmodified lines47547647748147847948048158 unmodified lines <img src="https://huggingface.co/datasets/BAAI/RefSpatial-Bench/resolve/main/assets/logo.png" style="height: 60px; flex-shrink: 0;">
<span style="line-height: 1.2; margin-left: 0px; text-align: center;"> RefSpatial-Bench: A Benchmark for Multi-step Spatial Referring RefSpatial-Expand-Bench: A Benchmark for Multi-step Spatial Referring </span>
</h1>
<!-- # RefSpatial-Expand-Bench: A Benchmark for Multi-step Spatial Referring with Reasoning -->
<!-- # RefSpatial-Bench: A Benchmark for Multi-step Spatial Referring with Reasoning -->
<!-- [](https://huggingface.co/datasets/BAAI/RefSpatial-Bench) --> <!-- [](https://huggingface.co/datasets/JingkunAn/RefSpatial-Expand-Bench) -->
<p align="center"> <a href="https://zhoues.github.io/RoboRefer"><img src="https://img.shields.io/badge/%F0%9F%8F%A0%20Project-Homepage-blue" alt="HomePage"></a>9 unmodified lines
Welcome to **RefSpatial-Bench**, a challenging benchmark based on real-world cluttered scenes to evaluate more complex multi-step spatial referring with reasoning.Welcome to **RefSpatial-Expand-Bench**, a challenging benchmark based on real-world cluttered scenes to evaluate more complex multi-step spatial referring with reasoning.
<img src="https://api.visitorbadge.io/api/combined?path=https%3A%2F%2Fzhoues.github.io&labelColor=%232ccce4&countColor=%230158f9" alt="visitor badge" style="display: none;" /><img src="https://api.visitorbadge.io/api/combined?path=https%3A%2F%2Fanjingkun.github.io&labelColor=%232ccce4&countColor=%230158f9" alt="visitor badge" style="display: none;" />42 unmodified lines
* `location`* `placement`* `unseen`
Each sample includes:
| Field | Description || :------- | :----------------------------------------------------------- || `id` | Unique integer ID || scene | indoor or outdoor || `scene` | Indoor or outdoor || `object` | Natural language description of target (object or free area), which is extracted from the `prompt` || `prompt` | Full Referring expressions || `suffix` | Instruction for answer formatting (**different models may use different suffixes or none**; we provide the format used by RoboRefer) |11 unmodified lines
* `Location/`* `Placement/`* `Unseen/`
Each folder contains:
16 unmodified lines "mask_path": "mask/40.png", "category": "location", "step": 2, "scene": indoor "scene": "indoor"}```
3 unmodified lines## π How to Use RefSpaital-Bench
<!-- This section explains different ways to load and use the RefSpatial-Bench dataset. --><!-- This section explains different ways to load and use the RefSpatial-Expand-Bench dataset. -->
The official evaluation code is available at https://github.com/Zhoues/RoboRefer.The following provides a quick guide on how to load and use the RefSpatial-Bench.The following provides a quick guide on how to load and use the RefSpatial-Expand-Bench.
<details>7 unmodified lines
# Load the entire dataset (all splits: location, placement, unseen)# This returns a DatasetDictdataset_dict = load_dataset("BAAI/RefSpatial-Bench")dataset_dict = load_dataset("JingkunAn/RefSpatial-Expand-Bench")
# Access a specific split, for example 'location'location_split_hf = dataset_dict["location"]
# Or load only a specific split directly (returns a Dataset object)# location_split_direct = load_dataset("BAAI/RefSpatial-Bench", name="location")# location_split_direct = load_dataset("JingkunAn/RefSpatial-Expand-Bench", name="location")
# Access a sample from the location splitsample = location_split_hf[0] 71 unmodified lines<summary><strong>Evaluating RoboRefer / RoboPoint</strong></summary>
To evaluate RoboRefer on RefSpatial-Bench:To evaluate RoboRefer on RefSpatial-Expand-Bench:
1. **Prepare Input Prompt:**
48 unmodified lines
To evaluate Gemini Series on RefSpatial-Bench:To evaluate Gemini Series on RefSpatial-Expand-Bench:
1. **Prepare Input Prompt:**
125 unmodified lines
## π Performance Highlights
Detailed accuracy results of RoboRefer-2B-SFT and RoboRefer-8B-SFT Models on RefSpatial-Bench-ExpandDetailed accuracy results of RoboRefer-2B-SFT and RoboRefer-8B-SFT Models on RefSpatial-Expand-Bench
#### **Location Task**
README.md+13-16