Spaces:
Running
on
L4
Running
on
L4
<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<title>V-JEPA 2 Video Classification Demo</title> | |
<link rel="stylesheet" href="style.css" /> | |
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap" rel="stylesheet"> | |
</head> | |
<body> | |
<div class="container"> | |
<header> | |
<h1>V-JEPA 2: Streaming Video Classification</h1> | |
<nav class="links"> | |
<a href="https://huggingface.co/collections/facebook/v-jepa-2-6841bad8413014e185b497a6" | |
target="_blank">π€ | |
Hugging Face Collection</a> | |
<a href="https://github.com/facebookresearch/vjepa2" target="_blank">π» GitHub</a> | |
<a href="https://huggingface.co/papers/2506.09985" target="_blank">π Paper</a> | |
</nav> | |
</header> | |
<section class="description"> | |
<h4>π₯ Video Classification</h4> | |
<p>This demo showcases a specialized version of V-JEPA 2, fine-tuned for real-time video action recognition! | |
Model optimized specifically for classifying 174 different actions from the Something-Something-V2 | |
dataset. | |
Watch as it instantly understands what's happening in the video! β‘ | |
See instructions below to get started with your webcam. π | |
</p> | |
</section> | |
<section class="demo"> | |
<h2>Recorded Demo</h2> | |
<div class="video-container"> | |
<video controls> | |
<source | |
src="https://huggingface.co/spaces/qubvel-hf/vjepa2-streaming-video-classification/resolve/main/misc/vjepa2-fastrtc-demo.mp4" | |
type="video/mp4"> | |
Your browser does not support the video tag. | |
</video> | |
</div> | |
</section> | |
<section class="installation"> | |
<h2>Getting Started</h2> | |
<div class="instructions"> | |
<h3>1. Clone the Repository</h3> | |
<pre><code>git clone https://huggingface.co/spaces/qubvel-hf/vjepa2-streaming-video-classification | |
cd vjepa2-streaming-video-classification</code></pre> | |
<h3>2. Install requirements</h3> | |
<pre><code>pip install -r requirements.txt</code></pre> | |
<h3>3. Run the Demo</h3> | |
<pre><code>gradio app.py</code></pre> | |
</div> | |
</section> | |
<footer> | |
<p>Built with β€οΈ using <a href="https://huggingface.co/transformers" target="_blank">Hugging Face | |
Transformers</a></p> | |
</footer> | |
</div> | |
</body> | |
</html> |