[Benchmark] Add DA-2K, ERQA, and RefSpatialBench support#1461
Merged
FangXinyu-0913 merged 5 commits intoopen-compass:mainfrom Mar 4, 2026
Merged
[Benchmark] Add DA-2K, ERQA, and RefSpatialBench support#1461FangXinyu-0913 merged 5 commits intoopen-compass:mainfrom
FangXinyu-0913 merged 5 commits intoopen-compass:mainfrom
Conversation
Add support for DA-2K (NeurIPS 2024), a challenging benchmark for relative depth estimation. Features: - Auto-download from HuggingFace (DepthAnything/DA-2K) - 1K images, 2K annotation pairs - 8 scene categories - VQA format for depth estimation tasks Usage: python run.py --data DA-2K --model YOUR_MODEL
Add support for two new benchmarks: - ERQA: Embodied Reasoning QA Evaluation Dataset (Gemini Robotics) - RefSpatialBench: Multi-step Spatial Referring with Reasoning (NeurIPS 2025) Combined with existing DA-2K support (commit 3130988), this branch now supports: - DA-2K: Dense Annotation to 2K - ERQA: 400 samples of embodied reasoning - RefSpatialBench: 277 samples of spatial referring Note: This PR should be merged together with DA-2K support
DA-2K: - Fix HuggingFace repo ID (DepthAnything -> depth-anything) - Switch from snapshot_download to hf_hub_download + ZIP extraction - Rewrite load_data to read TSV directly with absolute path handling - Filter inaccessible images (macOS Unicode NFD/NFC normalization issue) - Simplify build_prompt to use file path directly with point1/point2 suffix - Fix evaluate to use regex matching for point1/point2 extraction RefSpatialBench: - Update prompt template to Qwen3-VL native point_2d format - Always rebuild question from current template (ignore stale TSV column) - Add failure_reason tracking in evaluate for better error analysis - Add point_2d format parsing support in _parse_prediction Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Collaborator
|
Hi @Qi-Zhangyang! Thanks for your contribution. Please help fix lint first. |
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Contributor
Author
|
Finished |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR adds support for three new benchmarks to VLMEvalKit:
1. DA-2K
2. ERQA (Embodied Reasoning QA)
<image>placeholders3. RefSpatialBench
[(x, y)], Qwen3-VL[{"point_2d": [x, y]}], Gemini[{"point": [y, x]}], Molmo XML<points x1="50" y1="50"/>Benchmark Results (Qwen3-VL-235B)
Benchmark Results
Usage