Skip to main content

logo

Beyond FVD: Enhanced Evaluation Metrics for Video Generation Quality

Static Badge

Installation

Install our package from PyPI

pip install --upgrade videojedi

Tutorial

Our metric has a simple setup process. To compute V-JEPA features and the JEDi metric, follow these simple steps:

  • Pixel values are in the range [0, 1]
  • Input dimension order is T, 3, H, W (frames, channels, height, width)
from videojedi import JEDiMetric
jedi = JEDiMetric(feature_path=..., model_dir=...)
jedi.load_features(loaderA, loaderB, num_samples=...)
print(f"JEDi Metric: {jedi.compute_metric()}")

If V-JEPA features are already precomputed, simply load them and compute the JEDi metric.

from videojedi import JEDiMetric
import numpy as np
jedi = JEDiMetric()
jedi.train_features = np.random.rand(5000, 1280)
jedi.test_features = np.random.rand(5000, 1280)
print(f"JEDi Metric: {jedi.compute_metric()}") 

Follow our interactive tutorial notebook for a detailed walkthrough: Tutorial.

Citation

@misc{luo2024jedi,
        title={Beyond FVD: Enhanced Evaluation Metrics for Video Generation Quality}, 
        author={Ge Ya Luo and Gian Favero and Zhi Hao Luo and Alexia Jolicoeur-Martineau and Christopher Pal},
        year={2024},
        eprint={2410.05203},
        archivePrefix={arXiv},
        primaryClass={cs.CV},
        url={https://arxiv.org/abs/2410.05203}, 
  }

Release files for videojedi 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for videojedi 1.1.0
File Size Uploaded
videojedi-1.1.0.tar.gz 14.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for videojedi 1.1.0
File Interpreter ABI Platform
videojedi-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 29.7 kB

Release files / videojedi-1.1.0.tar.gz

Download URL videojedi-1.1.0.tar.gz
Size 14.3 kB
Tags Source
SHA-256 checksum
How to use checksums
3ca5efe3f24e0696b64d21cee3070f1a6661972cd3b4512d11c41fb9f6d0fcc0
BLAKE2b-256 checksum
How to use checksums
a53467600f047ced9d615dc715cbc8d293eeba29b95d61924921d89e72997db0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.5 CPython/3.12.4 Linux/5.15.0-101-generic

Release files / videojedi-1.1.0-py3-none-any.whl

Download URL videojedi-1.1.0-py3-none-any.whl
Size 15.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4478291a41b504e874100e285b88e8e071ba2a1f93597ed0abc404e95974fe6c
BLAKE2b-256 checksum
How to use checksums
d2fb27e50376b02d32cc41f518298808f29db0800b2ef0be5300f046fa3213c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.5 CPython/3.12.4 Linux/5.15.0-101-generic

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page