open-compass / open-compass/VLMEvalKit

Longvideobench的评测是不是有bug?

Open
#1,207 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
4.4k
Forks
768
Avg merge
1d 10h
Merged PRs (30d)
17

Description

    if video_llm:
        message.append(dict(type='video', value=osp.join(self.data_root, line['video_path'])))
    else:
        if not self.use_subtitle:
            with open(osp.join(self.data_root, "subtitles", line["subtitle_path"])) as f:
                subtitles = json.load(f)

            frame_message = insert_subtitles_into_frames(
                frames,
                [ind_ / fps for ind_ in indices],
                subtitles,
                line["starting_timestamp_for_subtitles"],
                line["duration"]
            )

            message += frame_message
        else:
            for im in frames:
                message.append(dict(type='image', value=im))

如果模型是video_llm是不是相当于无论怎么设置其实都是不加字幕的?但longvideobench应该是默认加字幕来评测的吧。
然后if not self.use_subtitle这块感觉命名有点疑惑,虽然这个相当于默认加字幕是合理的,但是这个命名感觉让人困惑。

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start from the shown Python subtitle-handling branch and trace the LongVideoBench evaluation entry point, including video_llm and use_subtitle. Verify whether video_llm bypasses subtitles and whether the default matches LongVideoBench’s stated evaluation behavior; done means the behavior and the confusing option naming are resolved consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
computer-vision, machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.