Skip to main content

Video generation benchmark

Project description

vbench_logo

VBench-2.0 is a comprehensive benchmark suite for video generative models. You can use VBench-2.0 to evaluate video generation models from 18 different ability aspects.

This project is the PyPI implementation of the following research:

VBench-2.0: Advancing Video Generation Benchmark Suite for Intrinsic Faithfulness
Dian Zheng, Ziqi Huang, Hongbo Liu, Kai Zou, Yinan He, Fan Zhang, Yuanhan Zhang, Jingwen He, Wei-Shi Zheng+, Yu Qiao+, Ziwei Liu+

Paper Project Page Video HuggingFace Visitor

Installation

pip install torch==2.5.1 torchvision==0.20.1 torchaudio==2.5.1 --index-url https://download.pytorch.org/whl/cu118
pip install vbench2
pip install mmcv==2.2.0 -f https://download.openmmlab.com/mmcv/dist/cu118/torch2.4/index.html --no-cache-dir
pip install retinaface_pytorch==0.0.8 --no-deps

Usage

Evaluate Your Own Videos

We support evaluating any video. Simply provide the path to the video file, or the path to the folder that contains your videos. There is no requirement on the videos' names.

  • Note: We support customized videos / prompts for the following dimensions: 'subject_consistency', 'background_consistency', 'motion_smoothness', 'dynamic_degree', 'aesthetic_quality', 'imaging_quality'

Evaluation on the Standard Prompt Suite of VBench-2.0

command line
    vbench evaluate --videos_path $VIDEO_PATH --dimension $DIMENSION

For example:

    vbench evaluate --videos_path "sampled_videos/lavie/human_action" --dimension "human_action"
python
    from vbench import VBench
    my_VBench = VBench(device, <path/to/VBench_full_info.json>, <path/to/save/dir>)
    my_VBench.evaluate(
        videos_path = <video_path>,
        name = <name>,
        dimension_list = [<dimension>, <dimension>, ...],
    )

For example:

    from vbench import VBench
    my_VBench = VBench(device, "vbench/VBench_full_info.json", "evaluation_results")
    my_VBench.evaluate(
        videos_path = "sampled_videos/lavie/human_action",
        name = "lavie_human_action",
        dimension_list = ["human_action"],
    )

Prompt Suite

We provide prompt lists are at prompts/.

Check out details of prompt suites, and instructions for how to sample videos for evaluation.

Citation

If you find this package useful for your reports or publications, please consider citing the VBench-2.0 paper:

 @article{zheng2025vbench2,
     title={{VBench-2.0}: Advancing Video Generation Benchmark Suite for Intrinsic Faithfulness},
     author={Zheng, Dian and Huang, Ziqi and Liu, Hongbo and Zou, Kai and He, Yinan and Zhang, Fan and Zhang, Yuanhan and He, Jingwen and Zheng, Wei-Shi and Qiao, Yu and Liu, Ziwei},
     journal={arXiv preprint arXiv:2503.21755},
     year={2025}
 }

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vbench2-0.1.0.tar.gz (44.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vbench2-0.1.0-py3-none-any.whl (45.3 MB view details)

Uploaded Python 3

File details

Details for the file vbench2-0.1.0.tar.gz.

File metadata

  • Download URL: vbench2-0.1.0.tar.gz
  • Upload date:
  • Size: 44.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for vbench2-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c1a9bdaf91dddfe569014bc2aece1a62525697f2f11cfddacc5182e447df6bac
MD5 7d3d71682093eca3e4828fec6876c449
BLAKE2b-256 6404247ab1859cb976575540ec84c42e470c32b96e45048f31cb6b7877e17626

See more details on using hashes here.

File details

Details for the file vbench2-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: vbench2-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 45.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for vbench2-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2cc7dd0f1e357068bb617cc380881df106399eb193aa3209cf8c594c94cbdc91
MD5 1316466366edf8306412ad122548f972
BLAKE2b-256 f82e53a05d2b7ffd1bf8e9ca527c6f71b3e635d18e50484e7b96b0d208f4539a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page