Jump to content

Connect SuperML | Leeroopedia MCP: Equip your AI agents with best practices, code verification, and debugging knowledge. Powered by Leeroo — building Organizational Superintelligence. Contact us at founders@leeroo.com.

Implementation:Open compass VLMEvalKit Dynamath

From Leeroopedia
Field Value
source VLMEvalKit
domain Vision, Benchmarking, Dynamic Mathematics

Overview

Benchmark dataset implementation for DynaMath evaluation in VLMEvalKit.

Description

Dynamath inherits from ImageBaseDataset and implements the DynaMath benchmark for dynamic mathematical reasoning evaluation. The TYPE field is set to 'VQA'. It supports standard and no-prompt variants with JSON-formatted answer instructions.

Usage

Registered in vlmeval/dataset/__init__.py and invoked through build_dataset() by benchmark name.

Code Reference

  • Source: vlmeval/dataset/dynamath.py, Lines: L1-245
  • Import: from vlmeval.dataset.dynamath import Dynamath

Signature:

class Dynamath(ImageBaseDataset):
    TYPE = 'VQA'
    DATASET_URL = {...}
    DATASET_MD5 = {...}
    ...

I/O Contract

Direction Description
Inputs TSV dataset file with image/video paths and questions
Outputs Evaluation results DataFrame with scores per category

Usage Examples

from vlmeval.dataset import build_dataset
dataset = build_dataset('DynaMath')

Related Pages

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment