OadTR
OadTR is an encoder-decoder transformer that labels the current action in a video stream as it arrives.
Video · 331 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Task
- Video
- Parameters
- 74.7M
- Operations
- 331
- Framework
- PyTorch
- Recurrent
- No
- Published
- ICCV 2021
- Cited by
- 151 (as of 3 November 2026)
- Authors
- Xiang Wang, Shiwei Zhang, Zhiwu Qing and others
- Source
- GitHub: wangxiang1230/OadTR
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m18958
- Graph hash
- 2e2c7ff01243f55020a0b32fa51bcb99a7d301b783e3369a5a3f350e1bd986d1
- Skeleton hash
- 51088c337a4d72141f77bdb8bd1f220efc79454218c2804ae965b2325a8e0823
- Architecture hash
- b59956944006f48f073272f2e243d7357770b854deb0494fd161cbf5fcac12a7
- Diagram SHA-256
- db908f27a26627060848d05ec506dbbdede997284ec112cf9215b81a68afaae6
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
OadTR is a transformer for online action detection, the task of identifying the actions taking place in a live video stream even when only part of an action has been observed. Earlier approaches mostly used recurrent networks, which the paper faults for non-parallelism and vanishing gradients.
The model is an encoder-decoder. The encoder reads the sequence of past observations with a task token attached, and that token is meant to capture the relationships among them. The decoder anticipates future context, and it does so in parallel. The outputs of the task token and the decoder are then concatenated to detect the current action.
The input is not raw video: the first step extracts a clip-level feature sequence with a standard CNN. The paper evaluates on HDD, TVSeries and THUMOS14 and reports higher training and inference speeds than the RNN-based approaches of the time. The authors describe the work, to the best of their knowledge, as the first to bring Transformers into online action detection.
Key idea. OadTR is an encoder-decoder Transformer that recognizes the current action by encoding historical observations and predicting future context at the same time.
- oadtr
- online action detection transformer
- online action detection
- action anticipation
- streaming video
- thumos14
- tvseries
- hdd
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{wang2021oadtronlineactiondetection,
title={OadTR: Online Action Detection with Transformers},
author={Xiang Wang and Shiwei Zhang and Zhiwu Qing and Yuanjie Shao and Zhengrong Zuo and Changxin Gao and Nong Sang},
year={2021},
eprint={2106.11149},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2106.11149},
}