File size: 5,110 Bytes
702e9f4
 
 
3cb36df
 
 
 
 
 
 
 
 
 
702e9f4
 
3cb36df
702e9f4
3cb36df
702e9f4
3cb36df
702e9f4
3cb36df
 
 
 
 
 
702e9f4
3cb36df
702e9f4
3cb36df
 
 
 
 
 
 
 
702e9f4
3cb36df
702e9f4
3cb36df
702e9f4
3cb36df
 
 
 
 
 
 
702e9f4
3cb36df
702e9f4
3cb36df
702e9f4
3cb36df
 
 
 
 
702e9f4
3cb36df
702e9f4
3cb36df
702e9f4
3cb36df
702e9f4
3cb36df
702e9f4
3cb36df
702e9f4
3cb36df
702e9f4
3cb36df
702e9f4
3cb36df
 
 
 
 
 
 
 
 
 
 
702e9f4
3cb36df
702e9f4
3cb36df
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
702e9f4
3cb36df
702e9f4
3cb36df
702e9f4
3cb36df
702e9f4
3cb36df
702e9f4
3cb36df
 
 
 
 
 
 
 
 
702e9f4
3cb36df
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
---
pipeline_tag: feature-extraction
tags:
- eidora
- eidora-model-zoo
- onnx
- onnxruntime
- embeddings
- video
- modality:video
- videomae
license: cc-by-nc-4.0
base_model: MCG-NJU/videomae-base
---

# VideoMAE Base — Video Embeddings

VideoMAE Base is a self-supervised video transformer pretrained on Kinetics-400. This EIDORA model provides normalized 768-dimensional clip-level video features.

## Training Data and Checkpoint Provenance

- **Architecture:** VideoMAE Base masked-autoencoder transformer for spatiotemporal video features.
- **Original checkpoint:** [MCG-NJU/videomae-base](https://huggingface.co/MCG-NJU/videomae-base).
- **Pinned revision:** `dc740ceda42fce44faed2ea03c6d447db72f6af9`.
- **Training data:** Kinetics-400, self-supervised pretraining for 1600 epochs
- **Training method:** Self-supervised masked video pretraining on Kinetics-400.
- **Source:** VideoMAE Base (original author attribution retained).

## Model Overview

- **Model:** VideoMAE Base — Video Embeddings
- **EIDORA identifier:** `EIDORA/VideoMAE_Base_K400`
- **Modality:** Video
- **Embedding dimensions:** 768
- **Embedding normalization:** L2-normalized
- **Similarity measure:** Cosine similarity
- **Package schema:** Version 3
- **Model version:** `0.1.0`

## EIDORA Use and Supported Modalities

**Supported modality:** Video only.

Researchers can use this package to:

- Compare short video clips by their visual representations.
- Explore clustering and retrieval in video collections.
- Study clip-level visual variation alongside frame-based image embeddings.

The VideoMAE checkpoint has no separate EIDORA image/text/multimodal variants in the captured public catalogue.

## Input and Preprocessing

EIDORA decodes a video and prepares a sequence of frames before ONNX inference:

1. Select a **2-second** excerpt using the **beginning** mode by default.
2. Sample **16** RGB frames.
3. Resize the shorter edge to **224** pixels and center-crop to **224 × 224** using **bilinear** interpolation.
4. Rescale by `0.00392156862745098`; the configured channel mean is `[0.0, 0.0, 0.0]` and standard deviation `[1.0, 1.0, 1.0]`.
5. Arrange frames as `BTCHW` and pass a `float32` tensor shaped `[batch, 16, 3, 224, 224]`.

Audio, captions and transcripts are not inputs to this model.

## Output Embeddings

The ONNX output is `float32` with shape `['batch', 768]`. Each vector has **768 dimensions**, is **L2-normalized**, and is intended for **cosine similarity** comparisons.

EIDORA samples 16 video frames, averages the final-layer spatiotemporal token features and applies L2 normalization.

## Runtime and Compatibility

The package uses `model.onnx` and schema-v3 runtime declarations for video preparation and embedding output.

It declares **`CPUExecutionProvider`**. Actual execution availability depends on the installed ONNX Runtime and EIDORA Desktop environment. `config.yaml` is authoritative for graph inputs, preprocessing, provider and embedding dimensions.

## Limitations

- This model uses video frames only; it does not analyze audio, text or narrated speech.
- The source training set is action-oriented and may differ from cultural or historical footage.
- The checkpoint license restricts use to non-commercial contexts.

Results should be evaluated against the intended research data and questions.

## Research Context and References

### Main paper

**VideoMAE: Masked Autoencoders are Data-Efficient Learners for Self-Supervised Video Pre-Training**

Paper: https://proceedings.neurips.cc/paper_files/paper/2022/hash/416f9cb3276121c42eebb86352a4354a-Abstract-Conference.html

The publication describes the upstream learning method and original model. The embeddings returned by EIDORA additionally depend on the specific preprocessing and output adaptation documented here.

### Primary citation (BibTeX)

```bibtex
@inproceedings{tong2022videomae,
  title={VideoMAE: Masked Autoencoders are Data-Efficient Learners for Self-Supervised Video Pre-Training},
  author={Tong, Zhan and Song, Yibing and Wang, Jue and Wang, Limin},
  booktitle={Advances in Neural Information Processing Systems},
  volume={35},
  pages={10078--10093},
  year={2022},
  doi={10.52202/068431-0732}
}
```

## License and Attribution

The upstream MCG-NJU VideoMAE checkpoint is licensed **CC BY-NC 4.0**. It is restricted to non-commercial uses; converting the model to ONNX does not remove those restrictions. See the included `LICENSE` and upstream checkpoint. EIDORA credits the VideoMAE authors.

See the `LICENSE` file included in this repository.

## Package Information

- **Model repository:** `EIDORA/VideoMAE_Base_K400`
- **Package version:** `0.1.0`
- **Package schema:** `3`
- **EIDORA configuration:** `config.yaml`
- **ONNX graph(s):** `model.onnx`
- **Supported modality:** Video
- **License identifier:** `cc-by-nc-4.0`
- **Declared provider:** CPUExecutionProvider
- **Required supplementary files:** `LICENSE`

The configuration defines the authoritative model-facing runtime contract. Other packaged assets, where present, do not introduce additional inference modalities.