← Back to Leaderboard
Mopen-mmlab

open-mmlab/mmaction2

Config-driven PyTorch framework for training and benchmarking video understanding models

AI FrameworkQuickstart ↓
Engineering Health (Methodology)
B · 60/100
Maintenance Activity
● Updated 8mo ago
Latest Release
v1.2.0
Commercial License Check
Apache-2.0 · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance6/35
Fork Adoption23/25
Release Cadence11/20
License Clarity20/20
DockerCLI
Total Stars
★ 5,213
24h Growth
+1
7d Growth
+6
Forks
1,353

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

open-mmlab/mmaction2 Star History (2020-07-10 - 2026-12-03) ALL-TIME STAR HISTORY (2020-07 – 2026-12) +5.2k in 2337d · avg +2/day 5.5k 2.8k 0 2020-07-10: ★ 12020-12-05: ★ 3552021-05-01: ★ 7302021-09-25: ★ 1,1402022-02-19: ★ 1,5932022-07-16: ★ 2,0312022-12-10: ★ 2,5092023-05-06: ★ 2,9402023-09-30: ★ 3,3212024-02-24: ★ 3,6372024-07-20: ★ 3,9482024-12-14: ★ 4,2582025-05-10: ★ 4,4912025-10-04: ★ 4,7052026-02-28: ★ 4,8872026-07-25: ★ 5,0812026-12-03: ★ 5,213 ★ 5.2k 2020-07 2023-09 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

MMAction2 is a configuration-driven Python framework for video understanding. PyTorch supplies model execution, MMEngine supplies training infrastructure, and MMCV provides computer-vision utilities. The repository separates reusable code in mmaction/ from experiment recipes in configs/, with tools/ and demo/ for running workflows and projects/ for applications built on the framework.

A typical integration starts with a task-specific configuration that pairs the data pipeline with the model and evaluation setup. Use the matching checkpoint for inference or adapt the recipe for training. The extension point is the set of configurable components, not a service API. MMDetection and MMPose are optional integrations for workflows that need detection or pose estimation; they need not be part of a basic recognition environment.

Key Capabilities & Differentiators

The task families differ in what they predict. Clip recognition assigns action labels; temporal localization identifies when an action occurs; spatio-temporal detection also associates actions with locations in the frame. Skeleton-based recognition uses pose data, while video retrieval matches text and video. Representative baselines include SlowFast, VideoSwin, and VideoMAE for recognition; BMN and TCANet for localization; SlowFast with Fast R-CNN for detection; PoseC3D and ST-GCN for skeleton recognition; and CLIP4Clip for retrieval.

Kinetics-400/600/700, UCF101, and Something-Something V1/V2 are listed recognition datasets, and AVA-2.1 is used in the detection examples. The model zoo offers results and checkpoints as starting points for evaluation, not as guarantees on new footage. The multimodal scope is model-specific: ActionCLIP is a recognition option, while CLIP4Clip addresses retrieval. Select the task and its evaluation protocol before comparing models.

Trade-offs & Limitations

Compared with maintaining a standalone PyTorch implementation, MMAction2 is more useful when a team needs to compare several model families or reuse training and evaluation workflows across tasks. Its abstractions are harder to justify for a single frozen model and one inference path, where a smaller dependency footprint is easier to deploy. The framework supplies training and inference building blocks; do not budget on it replacing a managed serving or labeling product.

Measure the entire video pipeline rather than just model execution. Decoding and sampling contribute to latency, and detection or pose estimation can add work before action prediction. GPU memory and throughput depend on the selected model, clip length, resolution, batch size, and concurrency. Apache-2.0 covers the project code; check checkpoint, dataset, and third-party terms separately before commercial deployment.

Hardware & Deployment Guide

Run a pretrained demo or the existing-model inference workflow locally before integrating custom data. The installation example uses a Python 3.8 Conda environment, PyTorch and torchvision, OpenMIM to install MMEngine and MMCV, and an editable MMAction2 install. Python 3.8 is an example, not a complete support matrix. For NVIDIA GPU deployment, validate and pin the PyTorch, CUDA, and MMCV combination before adding optional detection or pose packages.

The tree includes docker/, but its presence does not establish a turnkey serving image or API. For offline runs, provision the runtime dependencies, configurations, checkpoints, and input data ahead of time. Version 1.0.0 introduced the OpenMMLab 2.0 framework structure; 1.1.0 added text-based recognition and retrieval models; and 1.2.0 added ActionCLIP training, VindLU, MSVD support, and MobileOne TSN/TSM. Treat migration from 0.x as a configuration and compatibility change, not just a package upgrade.

Configuration: configs/ defines experiment recipes, while mmaction/ holds reusable components; model and dataset indexes sit at the repository root.
Recognition baselines: TSN, SlowFast, VideoSwin, and VideoMAE span segment-based, 3D convolutional, and transformer approaches.
Localization and detection: BSN, BMN, and TCANet cover temporal localization; SlowFast with Fast R-CNN is a separate spatio-temporal detection baseline.
Skeleton inputs: ST-GCN and PoseC3D offer distinct recognition baselines; MMPose is an optional dependency for workflows that need pose estimation.
Video–text workflows: CLIP4Clip covers retrieval; v1.2.0 adds VindLU, ActionCLIP training, and support for the MSVD retrieval dataset.
Lightweight recognition: v1.2.0 adds MobileOne variants of TSN and TSM, giving teams alternatives to profile on their target hardware.
Best For

Research and applied ML teams comparing video models, fine-tuning checkpoints on their own data, or sharing training and evaluation infrastructure across video tasks.

Skip If

You only need to run one fixed checkpoint with minimal dependencies, or you need a turnkey video inference service rather than a framework.

Reviewed on 2026-12-02 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

DockerCLI
conda create --name openmmlab python=3.8 -y
conda activate openmmlab
conda install pytorch torchvision -c pytorch  # This command will automatically install the latest version PyTorch and cudatoolkit, please check whether they match your environment.
pip install -U openmim
mim install mmengine
mim install mmcv
mim install mmdet  # optional
mim install mmpose  # optional
git clone https://github.com/open-mmlab/mmaction2.git
cd mmaction2
pip install -v -e .

Comparison vs. Top Voice, Vision & Video Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
mmaction2 ★5.2k+6PythonApache-2.0Config-driven PyTorch framework for training and benchmarking video understandin
diffusers35k+36PythonApache-2.0A modular PyTorch SDK for running and customizing multimodal diffusion pipelines
espnet10k+8PythonApache-2.0A recipe-driven PyTorch toolkit for training and running speech models locally
whisperX26.5k+677PythonBSD-2-ClauseBatched Whisper with forced alignment for word timings and optional speaker labe

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/open-mmlab/mmaction2.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

open-mmlab/mmaction2 Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about mmaction2

What is the lowest-risk way to integrate MMAction2 into an existing PyTorch project?

Start with a model-zoo configuration and its matching checkpoint. Run the existing-model inference workflow unchanged, then adapt dataset handling or preprocessing as needed. Add MMDetection or MMPose only if the selected workflow uses it.

How should we size GPU memory and inference capacity?

There is no single VRAM requirement for the toolbox. Profile the selected model on representative clips and record clip length, resolution, batch size, and concurrency. Measure training separately from inference, and include video decoding and any upstream detector or pose estimator in end-to-end timing.

Can we self-host it commercially, and what needs a separate license review?

The Apache-2.0 code license permits commercial use and self-hosting subject to its terms. Review licenses and usage terms for checkpoints, datasets, and third-party components separately; the repository license does not establish those rights.

When is MMAction2 preferable to a standalone PyTorch implementation?

MMAction2 is the better fit when you expect to compare model families, share experiment configurations, or support more than one video task. If one checkpoint and one narrowly defined inference path are enough, a standalone PyTorch implementation can reduce the dependency and upgrade burden.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining open-mmlab/mmaction2? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature open-mmlab/mmaction2 on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare