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

conda install psutil
pip install torch==2.5.1 torchvision==0.20.1 torchaudio==2.5.1 --index-url https://download.pytorch.org/whl/cu118
python -m pip install ninja
python -m pip install git+https://github.com/Dao-AILab/flash-attention.git@v2.7.2.post1
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

Evaluation on the Standard Prompt Suite of VBench-2.0

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

For example:

    vbench2 evaluate --videos_path "sampled_videos/HunyuanVideo/Human_Interaction" --dimension "Human_Interaction"
    srun -p video-aigc-3 --gres=gpu:1 vbench2 evaluate --videos_path "/mnt/petrelfs/zhengdian/zhengdian/VBench2.0/sample_video/HunyuanVideo/Human_Interaction" --dimension "Human_Interaction"
python
    from vbench2 import VBench2
    my_VBench = VBench2(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 vbench2 import VBench2
    my_VBench = VBench2(device, "vbench2/VBench2_full_info.json", "evaluation_results")
    my_VBench.evaluate(
        videos_path = "sampled_videos/HunyuanVideo/Human_Interaction",
        name = "HunyuanVideo_Human_Interaction",
        dimension_list = ["Human_Interaction"],
    )

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.1.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.1-py3-none-any.whl (45.3 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vbench2-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 c535556d77b79b443685c1e71dbc9c03dd9112d0dc091d51f8d6efa711a3e5f9
MD5 297fb810981f9da9b062be07843da0a0
BLAKE2b-256 94742793abfeec03d88ff96fff0979797c581b1eb11526214603829186cf5fa0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vbench2-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a7c244471193cd5edd5440347ee055c0eb2e6576038e226e8ea98131a5b1e15a
MD5 17b4a5c2135461808431101b062209bf
BLAKE2b-256 3f3916eb69eb99b08479162ebf19b7647db3c258957b252bf35513733d955ae0

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