Ouzhang's picture
Add files using upload-large-folder tool
8e29a6e verified
|
Raw
History Blame Contribute Delete
644 Bytes

Easy Use

VE-Bench can be installed with a single pip command. Since the model employs normalization during training, its output does not represent absolute scores. We recommend performing comparisons between video pairs, as demonstrated below:

pip install vebench

When comparing videos:

from vebench import VEBenchModel

evaluator = VEBenchModel()

score1 = evaluator.evaluate('A black-haired boy is turning his head', 'assets/src.mp4', 'assets/dst.mp4')
score2 = evaluator.evaluate('A black-haired boy is turning his head', 'assets/src.mp4', 'assets/dst2.mp4')
print(score1, score2) # Score1: 1.3563, Score2: 0.66194