← all repositories
jfzhang95/pytorch-video-recognition

A 3D CNN time capsule for video recognition

PyTorch reference code for classic 3D video CNNs, because re-deriving spatiotemporal convolutions from scratch is nobody's idea of fun.

1.2k stars Python Computer VisionML Frameworks
pytorch-video-recognition
Not currently ranked — collecting fresh signals.
star history

What it does

This repository houses PyTorch implementations of three well-known 3D convolutional architectures—C3D, R3D, and R2Plus1D—for video action recognition. It covers the full training pipeline for the UCF101 and HMDB51 benchmarks, including a preprocessing step that extracts frames from raw AVI files. The author also provides training logs and accuracy curves for the C3D model.

The interesting bit

The real value is side-by-side access to multiple spatiotemporal architectures in one place, though the README makes clear that only C3D has actually been trained and released with pretrained weights so far. The author also links to a separate web-game project built on the C3D model, hinting the work is intended as a starting point for applications.

Key highlights

  • Implements C3D, R2Plus1D, and R3D in a single PyTorch codebase.
  • Includes frame-extraction preprocessing for UCF101 and HMDB51.
  • Provides downloadable pretrained weights for C3D only.
  • Publishes training/validation/test accuracy and loss curves for C3D experiments.
  • Author maintains a related web demo game using the C3D model.

Caveats

  • Targets PyTorch 0.4.0, so expect dependency friction on modern hardware.
  • Only C3D has pretrained weights and reported experiments; R3D and R2Plus1D are implemented but not yet validated by the author.
  • Dataset splits are generated with sklearn rather than using the official UCF101/HMDB51 partitions.

Verdict

Worth a look if you need a readable, self-contained reference for 3D video CNNs and can tolerate some archaeology. Look elsewhere if you need production-ready, modern PyTorch implementations of R(2+1)D or R3D.

Frequently asked

What is jfzhang95/pytorch-video-recognition?
PyTorch reference code for classic 3D video CNNs, because re-deriving spatiotemporal convolutions from scratch is nobody's idea of fun.
Is pytorch-video-recognition open source?
Yes — jfzhang95/pytorch-video-recognition is open source, released under the MIT license.
What language is pytorch-video-recognition written in?
jfzhang95/pytorch-video-recognition is primarily written in Python.
How popular is pytorch-video-recognition?
jfzhang95/pytorch-video-recognition has 1.2k stars on GitHub.
Where can I find pytorch-video-recognition?
jfzhang95/pytorch-video-recognition is on GitHub at https://github.com/jfzhang95/pytorch-video-recognition.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.