VBench icon indicating copy to clipboard operation
VBench copied to clipboard

Evaluation issue:

Open Mei0211 opened this issue 1 year ago • 2 comments

I wrote a script for evaluation,but I encoutered a issue then: 1、script: from vbench import VBench import torch device = torch.device("cuda") my_VBench = VBench(device, "VBench_full_info.json", "evaluation_results") my_VBench.evaluate( videos_path = "./videocrafter/spatial_relationship", #there are several videos in this directory name = "spatial_relationship", dimension_list = ["spatial_relationship"], ) 2、issue: RuntimeWarning: invalid value encountered in scalar divide ret = ret.dtype.type(ret / rcount)

3、evaluate results: image

Mei0211 avatar Jan 20 '24 14:01 Mei0211

Hi, thanks for your interest in our work! The issue may be attributed to the wrong sampled video format. As we mentioned in the How to Sample Videos for Evaluation section, the names of videos should be in the form of $prompt-$index.mp4. You can refer to the $dimension_full_info.json in the evaluation_reuslts/ folder to check if the sampled videos exist in the “video_list" key of each prompt.

JustinYuu avatar Jan 30 '24 05:01 JustinYuu

Thanks for your information!I‘ll try it later!

mei1127 avatar Jan 30 '24 05:01 mei1127

Hi, we're closing this issue as it appears your questions have been addressed. However, feel free to open a new issue or reopen this one, if you have further questions or if anything else comes up related to this issue.

ziqihuangg avatar Jun 04 '24 02:06 ziqihuangg