
ST-STGCN
Video135 ops62.7K params
A graph convolutional network that recognizes human actions from sequences of body skeletons.
Video · 135 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.
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.
How this diagram was made
menagerie.classics.stgcn_skeleton:build_stgcn: build({}) 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.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.