benedekrozemberczki/pytorch_geometric_temporal — 3.0k★ trên GitHub (Python). PyTorch Geometric Temporal: Spatiotemporal Signal Processing with Neural Machine Learning Models (CIKM 2021)
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
PyTorch Geometric Temporal is a temporal (dynamic) extension library for PyTorch Geometric.
The library consists of various dynamic and temporal geometric deep learning, embedding, and spatio-temporal regression methods from a variety of published research papers. Moreover, it comes with an easy-to-use dataset loader, train-test splitter and temporal snaphot iterator for dynamic and temporal graphs. The framework naturally provides GPU support. It also comes with a number of benchmark datasets from the epidemological forecasting, sharing economy, energy production and web traffic management domains. Finally, you can also create your own datasets.
PyTorch Geometric Temporal now includes support for index-batching - a new batching technique that improves spatiotemporal memory efficiency without any impact on accuracy. Take a look at the index-batching examples, which allow users to easily customize training to their needs and scale to larger datasets than previously possible. Additionally, PyTorch Geometric Temporal supports memory-efficient distributed data parallel training using Dask-DDP in combination with index-batching.
The package interfaces well with Pytorch Lightning which allows training on CPUs, single and multiple GPUs out-of-the-box. Take a look at this introductory example of using PyTorch Geometric Temporal with Pytorch Lightning.
We also provide detailed examples for each of the recurrent models and notebooks for the attention based ones.
Case Study Tutorials
We provide in-depth case study tutorials in the Documentation, each covers an aspect of PyTorch Geometric Temporal’s functionality.
Incremental Training: Epidemiological Forecasting Case Study
Cumulative Training: Web Traffic Management Case Study
Citing
If you find PyTorch Geometric Temporal and the new datasets useful in your research, please consider adding the following citation of the orignal work and its more recent extension:
@inproceedings{rozemberczki2021pytorch,
author = {Benedek Rozemberczki and Paul Scherer and Yixuan He and George Panagopoulos and Alexander Riedel and Maria Astefanoaei and Oliver Kiss and Ferenc Beres and Guzman Lopez and Nicolas Collignon and Rik Sarkar},
title = {{PyTorch Geometric Temporal: Spatiotemporal Signal Processing with Neural Machine Learning Models}},
year = {2021},
booktitle={Proceedings of the 30th ACM International Conference on Information and Knowledge Management},
pages = {4564–4573},
}
@misc{ockerman2025pgtiscalingspatiotemporalgnns,
title={PGT-I: Scaling Spatiotemporal GNNs with Memory-Efficient Distributed Training},
author={Seth Ockerman and Amal Gueroudji and Tanwi Mallick and Yixuan He and Line Pouchard and Robert Ross and Shivaram Venkataraman},
year={2025},
eprint={2507.11683},
archivePrefix={arXiv},
primaryClass={cs.DC},
url={https://arxiv.org/abs/2507.11683},
}
A simple example
PyTorch Geometric Temporal makes implementing Dynamic and Temporal Graph Neural Networks quite easy - see the accompanying tutorial. For example, this is all it takes to implement a recurrent graph convolutional network with two consecutive graph convolutional GRU cells and a linear layer:
import torch
import torch.nn.functional as F
from torch_geometric_temporal.nn.recurrent import GConvGRU
class RecurrentGCN(torch.nn.Module):
def __init__(self, node_features, num_classes):
super(RecurrentGCN, self).__init__()
self.recurrent_1 = GConvGRU(node_features, 32, 5)
self.recurrent_2 = GConvGRU(32, 16, 5)
self.linear = torch.nn.Linear(16, num_classes)
def forward(self, x, edge_index, edge_weight):
x = self.recurrent_1(x, edge_index, edge_weight)
x = F.relu(x)
x = F.dropout(x, training=self.training)
x = self.recurrent_2(x, edge_index, edge_weight)
x = F.relu(x)
x = F.dropout(x, training=self.training)
x = self.linear(x)
return F.log_softmax(x, dim=1)
Methods Included
In detail, the following temporal graph neural networks were implemented.
Recurrent Graph Convolutions
DCRNN from Li et al.: Diffusion Convolutional Recurrent Neural Network: Data-Driven Traffic Forecasting (ICLR 2018)
GConvGRU from Seo et al.: Structured Sequence Modeling with Graph Convolutional Recurrent Networks (ICONIP 2018)
GConvLSTM from Seo et al.: Structured Sequence Modeling with Graph Convolutional Recurrent Networks (ICONIP 2018)
GC-LSTM from Chen et al.: GC-LSTM: Graph Convolution Embedded LSTM for Dynamic Link Prediction (CoRR 2018)
LRGCN from Li et al.: Predicting Path Failure In Time-Evolving Graphs (KDD 2019)
DyGrEncoder from Taheri et al.: Learning to Represent the Evolution of Dynamic Graphs with Recurrent Models
EvolveGCNH from Pareja et al.: EvolveGCN: Evolving Graph Convolutional Networks for Dynamic Graphs
EvolveGCNO from Pareja et al.: EvolveGCN: Evolving Graph Convolutional Networks for Dynamic Graphs
T-GCN from Zhao et al.: T-GCN: A Temporal Graph Convolutional Network for Traffic Prediction
A3T-GCN from Zhu et al.: A3T-GCN: Attention Temporal Graph Convolutional Network for Traffic Forecasting
AGCRN from Bai et al.: Adaptive Graph Convolutional Recurrent Network for Traffic Forecasting (NeurIPS 2020)
MPNN LSTM from Panagopoulos et al.: Transfer Graph Neural Networks for Pandemic Forecasting (AAAI 2021)
Attention Aggregated Temporal Graph Convolutions
STGCN from Yu et al.: Spatio-Temporal Graph Convolutional Networks: A Deep Learning Framework for Traffic Forecasting (IJCAI 2018)
ASTGCN from Guo et al.: Attention Based Spatial-Temporal Graph Convolutional Networks for Traffic Flow Forecasting (AAAI 2019)
MSTGCN from Guo et al.: Attention Based Spatial-Temporal Graph Convolutional Networks for Traffic Flow Forecasting (AAAI 2019)
GMAN from Zheng et al.: GMAN: A Graph Multi-Attention Network for Traffic Prediction (AAAI 2020)
MTGNN from Wu et al.: Connecting the Dots: Multivariate Time Series Forecasting with Graph Neural Networks (KDD 2020)
2S-AGCN from Shi et al.: Two-Stream Adaptive Graph Convolutional Networks for Skeleton-Based Action Recognition (CVPR 2019)
DNNTSP from Yu et al.: Predicting Temporal Sets with Deep Neural Networks (KDD 2020)
Auxiliary Graph Convolutions
TemporalConv from Yu et al.: Spatio-Temporal Graph Convolutional Networks: A Deep Learning Framework for Traffic Forecasting (IJCAI 2018)
DConv from Li et al.: Diffusion Convolutional Recurrent Neural Network: Data-Driven Traffic Forecasting (ICLR 2018)
ChebConvAttention from Guo et al.: Attention Based Spatial-Temporal Graph Convolutional Networks for Traffic Flow Forecasting (AAAI 2019)
AVWGCN from Bai et al.: Adaptive Graph Convolutional Recurrent Network for Traffic Forecasting (NeurIPS 2020)
Head over to our documentation to find out more about installation, creation of datasets and a full list of implemented methods and available datasets.
For a quick start, check out the examples in the examples/ directory.
If you notice anything unexpected, please open an issue. If you are missing a specific method, feel free to open a feature request.
Installation
First install pytorch and pytorch-geometric
and then run
pip install torch-geometric-temporal
To install with index-batching support, run
pip install torch-geometric-temporal[index]
To install with both index-batching and DDP support, run
benedekrozemberczki/pytorch_geometric_temporal có phải mã nguồn mở không?
Có — benedekrozemberczki/pytorch_geometric_temporal phát hành theo license MIT, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/benedekrozemberczki/pytorch_geometric_temporal.
benedekrozemberczki/pytorch_geometric_temporal có website riêng không?
TopGit chưa ghi nhận URL trang chủ cho benedekrozemberczki/pytorch_geometric_temporal. Phần README ở tab phía trên thường có link demo, hoặc xem mô tả GitHub của repo.
benedekrozemberczki/pytorch_geometric_temporal dùng license gì?
benedekrozemberczki/pytorch_geometric_temporal phát hành theo license MIT. Nên mở file LICENSE trên GitHub để xác nhận — license metadata đôi khi lệch với thực tế dự án.
benedekrozemberczki/pytorch_geometric_temporal là gì?
benedekrozemberczki/pytorch_geometric_temporal (benedekrozemberczki/pytorch_geometric_temporal) là dự án Python trên GitHub. Theo mô tả gốc: PyTorch Geometric Temporal: Spatiotemporal Signal Processing with Neural Machine Learning Models (CIKM 2021)
Cùng nhóm AI Tools còn repo nào?
benedekrozemberczki/pytorch_geometric_temporal thuộc nhóm AI Tools trên TopGit, cùng 19 topic GitHub. Trang Trending và Topics liệt kê các repo cùng số sao và cùng ngôn ngữ để so sánh.
Đọc thêm về benedekrozemberczki/pytorch_geometric_temporal ở đâu?
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/benedekrozemberczki/pytorch_geometric_temporal là nguồn chính thức.
Vì sao benedekrozemberczki/pytorch_geometric_temporal được xếp vào nhóm AI Tools?
TopGit xếp benedekrozemberczki/pytorch_geometric_temporal vào nhóm AI Tools dựa trên GitHub topics và mô tả của repo (gắn thẻ: "deep-learning", "gcn", "gnn"). Việc phân loại dựa trên metadata thật của repo, không phải đoán theo cảm tính biên tập.
Đọc đầy đủ README ở tab phía trên.
Chưa chắc pytorch_geometric_temporal có hợp với bạn?
Để ChatGPT, Claude hoặc Perplexity tìm hiểu giúp — bấm bên dưới và xem AI nói gì về pytorch_geometric_temporal.