Vchitect / VBench

[CVPR2024 Highlight] VBench - We Evaluate Video Generation
https://vchitect.github.io/VBench-project/
Apache License 2.0
374 stars 14 forks source link

Evaluation issue: #4

Closed Mei0211 closed 1 month ago

Mei0211 commented 5 months ago

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

JustinYuu commented 5 months ago

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 _evaluationreuslts/ folder to check if the sampled videos exist in the _“videolist" key of each prompt.

mei1127 commented 5 months ago

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

ziqihuangg commented 1 month ago

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.