All models

ST-GCN-Skeleton

A graph convolutional network that recognizes human actions from sequences of body skeletons.

Video · 135 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (14 KB)

Open in a new tab

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
62.7K
Operations
135
Framework
PyTorch
Recurrent
No
Published
2018
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m2713
Graph hash
2350dcc32bdf2a5a9a9c3909d0f78df7bbfb08e735e504f707a8149fa634e89f
Skeleton hash
6cb9400a595e4856d9ba75cd66f0964bdde67c628f671b233a9b9c31afc9429f
Architecture hash
0c76a44d006ae7f0b8b2dd7a7bb15eecf6f6062399bcb9b950cace0990a6a281
Diagram SHA-256
1c84f08b2d28bed3290aa8608e788cd44179cbf7c5a24c500e39d1b2429ca16e
TorchLens version
2.35.3
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

How this diagram was made

menagerie.classics.stgcn_skeleton:build_stgcn: build({})

What it is

ST-GCN is a graph convolutional network that recognizes human actions from sequences of body skeletons. Earlier approaches to modeling skeletons usually relied on hand-crafted parts or traversal rules, which the paper says limits expressive power and makes generalization difficult. ST-GCN instead learns both the spatial and the temporal patterns from data.

The input is a graph built over a skeleton sequence: edges within a frame follow the natural connections of the human body, and edges across frames connect the same joint in consecutive frames. Joint coordinates are the inputs to the network. The paper presents three strategies for partitioning a joint's neighbors when defining the convolution. The spatial configuration strategy divides the neighbor set into three subsets: the joint itself, the neighbors closer to the skeleton's gravity center, and the rest. A learnable weight matrix accompanies each adjacency matrix, which gives the network a learnable edge importance weighting.

The network is composed of 9 layers of spatial temporal graph convolution. The first three layers have 64 output channels, the next three have 128 and the last three have 256. Global pooling then produces a 256 dimension feature vector for each sequence, which is fed to a SoftMax classifier. The paper reports substantial improvements over mainstream methods on two large datasets, Kinetics and NTU-RGBD.

Key idea. ST-GCN models a skeleton sequence as a spatial temporal graph and learns both spatial and temporal patterns from data instead of relying on hand-crafted parts or traversal rules.

  • skeleton-based action recognition
  • spatial temporal graph
  • graph convolution
  • human body joints
  • partitioning strategy
  • edge importance weighting
  • temporal convolution
  • Kinetics
  • NTU-RGBD

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.