프로젝트
GitHub에서 보기 
hazdzz/stgcn
hazdzz/stgcn has 706 GitHub stars and 131 forks. GitHot measured 0 stars in 24 hours and +1 in 7 days. Last checked 2026-11-21 09:28 UTC. Last push 2025-04-02.
측정된 스타 증가
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- 기록 수집 중
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
소개
The PyTorch implementation of STGCN.
머신러닝README.md
OriginalSpatio-Temporal Graph Convolutional Networks
About
The PyTorch implementation of STGCN from the paper Spatio-Temporal Graph Convolutional Networks: A Deep Learning Framework for Traffic Forecasting.
Paper
https://arxiv.org/abs/1709.04875
Citation
@inproceedings{10.5555/3304222.3304273,
author = {Yu, Bing and Yin, Haoteng and Zhu, Zhanxing},
title = {Spatio-Temporal Graph Convolutional Networks: A Deep Learning Framework for Traffic Forecasting},
year = {2018},
isbn = {9780999241127},
publisher = {AAAI Press},
booktitle = {Proceedings of the 27th International Joint Conference on Artificial Intelligence},
pages = {3634–3640},
numpages = {7},
series = {IJCAI'18}
}
Related works
- TCN: An Empirical Evaluation of Generic Convolutional and Recurrent Networks for Sequence Modeling
- GLU and GTU: Language Modeling with Gated Convolutional Networks
- ChebNet: Convolutional Neural Networks on Graphs with Fast Localized Spectral Filtering
- GCN: Semi-Supervised Classification with Graph Convolutional Networks
Related code
- TCN: https://github.com/locuslab/TCN
- ChebNet: https://github.com/mdeff/cnn_graph
- GCN: https://github.com/tkipf/pygcn
Dataset
Source
- METR-LA: DCRNN author's Google Drive
- PEMS-BAY: DCRNN author's Google Drive
- PeMSD7(M): STGCN author's GitHub repository
Preprocessing
Using the formula from ChebNet:

Model structure

Differents of code between mine and author's
- Fix bugs
- Add Early Stopping approach
- Add Dropout approach
- Offer a different set of hyperparameters
- Offer config files for two different categories graph convolution (ChebyGraphConv and GraphConv)
- Add datasets METR-LA and PEMS-BAY
- Adopt a different data preprocessing method
Requirements
To install requirements:
pip3 install -r requirements.txt