Home

Awesome

[CVPR 2023] Official Implementation of VideoMAE V2

flowchart

PWC<br> PWC<br> PWC<br> PWC<br> PWC<br> PWC<br> PWC<br> PWC<br> PWC<br> PWC<br>

VideoMAE V2: Scaling Video Masked Autoencoders with Dual Masking<br> Limin Wang, Bingkun Huang, Zhiyu Zhao, Zhan Tong, Yinan He, Yi Wang, Yali Wang, and Yu Qiao<br> Nanjing University, Shanghai AI Lab, CAS<br>

News

[2024.09.19] Checkpoints have been migrated to Hugging Face. You can obtain weights from VideoMAEv2-hf.<br> [2023.05.29] VideoMAE V2-g features for THUMOS14 and FineAction datasets are available at TAD.md now.<br> [2023.05.11] We have supported testing of our distilled models at MMAction2 (dev version)! See PR#2460.<br> [2023.05.11] The feature extraction script for TAD datasets has been released! See instructions at TAD.md.<br> [2023.04.19] ViT-giant model weights have been released! You can get the download links from MODEL_ZOO.md.<br> [2023.04.18] Code and the distilled models (vit-s & vit-b) have been released!<br> [2023.04.03] Code and models will be released soon.<br>

Model Zoo

We now provide the model weights in MODEL_ZOO.md. We have additionally provided distilled models in MODEL_ZOO.

ModelDatasetTeacher Model#FrameK710 Top-1K400 Top-1K600 Top-1
ViT-smallK710vit_g_hybrid_pt_1200e_k710_ft16x5x377.683.783.1
ViT-baseK710vit_g_hybrid_pt_1200e_k710_ft16x5x381.586.685.9

Installation

Please follow the instructions in INSTALL.md.

Data Preparation

Please follow the instructions in DATASET.md for data preparation.

Pre-training

The pre-training instruction is in PRETRAIN.md.

Fine-tuning

The fine-tuning instruction is in FINETUNE.md.

Citation

If you find this repository useful, please use the following BibTeX entry for citation.

@InProceedings{wang2023videomaev2,
    author    = {Wang, Limin and Huang, Bingkun and Zhao, Zhiyu and Tong, Zhan and He, Yinan and Wang, Yi and Wang, Yali and Qiao, Yu},
    title     = {VideoMAE V2: Scaling Video Masked Autoencoders With Dual Masking},
    booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
    month     = {June},
    year      = {2023},
    pages     = {14549-14560}
}

@misc{videomaev2,
      title={VideoMAE V2: Scaling Video Masked Autoencoders with Dual Masking},
      author={Limin Wang and Bingkun Huang and Zhiyu Zhao and Zhan Tong and Yinan He and Yi Wang and Yali Wang and Yu Qiao},
      year={2023},
      eprint={2303.16727},
      archivePrefix={arXiv},
      primaryClass={cs.CV}
}