rookierufus commited on
Commit
31dcd09
·
1 Parent(s): 2f45931

Add dataset card

Browse files
Files changed (1) hide show
  1. README.md +78 -0
README.md ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ task_categories:
4
+ - video-classification
5
+ - feature-extraction
6
+ tags:
7
+ - video
8
+ - tubelets
9
+ - vjepa
10
+ - egocentric
11
+ - raw-frames
12
+ - computer-vision
13
+ size_categories:
14
+ - 10K<n<100K
15
+ ---
16
+
17
+ # VJEPA Raw Tubelet Dataset (L2-Norm / CTD)
18
+
19
+ Pre-extracted raw video tubelets from the [Egocentric-10K](https://huggingface.co/datasets/builddotai/Egocentric-10K) dataset, processed using the canonical **V-JEPA preprocessing pipeline**.
20
+
21
+ ## Tensor Format
22
+
23
+ Each file is a single tubelet saved with and can be loaded with .
24
+
25
+ | Property | Value |
26
+ |----------|-------|
27
+ | **Shape** | |
28
+ | **Dtype** | |
29
+ | **Layout** | — Frames × Height × Width × Channels |
30
+ | **Frames** | 64 raw RGB frames per tubelet |
31
+ | **Resolution** | 384 × 384 center-cropped |
32
+ | **Pixel Range** | 0–255 (unnormalized) |
33
+
34
+ ## Preprocessing Pipeline (V-JEPA Canonical)
35
+
36
+ The preprocessing exactly follows Meta's V-JEPA training protocol:
37
+
38
+ ### 1. Frame Rate Downsampling
39
+ - Source videos are downsampled to **4 FPS** using FFmpeg's filter.
40
+ - The mode exactly matches Meta's frame selection.
41
+
42
+ ### 2. Shorter-Side Scaling (Aspect-Ratio Preserving)
43
+ - The shorter side of each frame is scaled to **438 pixels** while preserving the original aspect ratio.
44
+ - This value is derived from the canonical V-JEPA proportion: .
45
+ - For 224×224 crops, V-JEPA scales the shorter side to 256px. We scale proportionally for 384×384 crops.
46
+
47
+ ### 3. Center Cropping
48
+ - A **384 × 384** center crop is taken from each scaled frame.
49
+ - FFmpeg's filter defaults to center cropping when no x/y offsets are specified.
50
+
51
+ ### 4. Tubelet Chunking
52
+ - The full decoded frame sequence is divided into non-overlapping chunks of exactly **64 frames**.
53
+ - Incomplete trailing chunks (fewer than 64 frames) are discarded.
54
+
55
+ ### FFmpeg Command Used
56
+
57
+
58
+ ## Directory Structure
59
+
60
+ Files are partitioned across multiple root directories (, , , ...) to comply with HuggingFace's 10,000 files per directory limit.
61
+
62
+
63
+
64
+ ## Usage
65
+
66
+
67
+
68
+ ## Source Dataset
69
+
70
+ - **Source**: [builddotai/Egocentric-10K](https://huggingface.co/datasets/builddotai/Egocentric-10K)
71
+ - **Content**: Egocentric (first-person) video data from industrial/factory environments
72
+ - **Factories**: factory_001 through factory_050
73
+
74
+ ## Hardware Used for Extraction
75
+
76
+ - **GPU**: NVIDIA A40 (46 GB VRAM, 2 NVDEC chips)
77
+ - **CPU**: 128 cores
78
+ - **Decoding**: Hardware-accelerated NVDEC via FFmpeg with 10 concurrent decode threads