Downloads · 30 days
5
10% of all-time downloads
anupam1897/stgt-traffic-twin
stgt-traffic-twin is a machine learning model from anupam1897. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
Spatio-Temporal Graph Transformer for urban traffic impact assessment.
Downloads · 30 days
5
10% of all-time downloads
All-time downloads
51
Public
Repo size
2.8 MB
Likes
0
Public
Click a slice to open those files.
.pth2.5 MB · 89%
From the Hugging Face model README
Spatio-Temporal Graph Transformer for urban traffic impact assessment.
| File | Size | Description |
|---|---|---|
best_stgt_v2.pth | 1.8 MB | Main GCN model |
best_stgt_gat.pth | 0.7 MB | GAT variant |
graph_dict.pkl | 0.3 MB | Road network |
config.json | - | Model config |
from huggingface_hub import hf_hub_download
import torch
ckpt_path = hf_hub_download(
repo_id="anupam1897/stgt-traffic-twin",
filename="best_stgt_v2.pth"
)
ckpt = torch.load(ckpt_path, map_location='cpu')
@misc{stgt-twin-2024,
title={STGT: Traffic Digital Twin for Bangalore},
author=anupam1897,
year={2024},
url=https://huggingface.co/anupam1897/stgt-traffic-twin
}