STGCN β 28 HCMC traffic cameras
Public recovery storage for the explicitly authorized STGCN experiment.
Prepared experiment
- YOLOv8 count observations from 28 cameras, 39,650 aligned one-minute steps, four vehicle classes.
- Input history 60 minutes; direct forecasts 1β60 minutes; reporting horizons 15/30/60 minutes.
- Walking-distance Gaussian kNN4 graph, 64 undirected edges; a provisional distance graph.
- Chronological 70/15/15 split, training-only scaler and causal input repair.
- Targets are mean observed vehicle presence in each ROI. They are not crossing-flow counts.
- Reconstructed labels are excluded from loss and evaluation. Real zeros remain valid.
Prepared ZIP includes code, tensors, node order, config and Colab/Kaggle notebooks. CPU and GPU smoke checks have passed, including verified public checkpoint backup. The first full STGCN experiment is running on NVIDIA RTX 2000 Ada 16 GB, PyTorch 2.8.0+cu129, seed 42, batch size 32, up to 100 epochs with early stopping. The test set remains untouched during model selection. Smoke scores are not research results.
Main active run: runs/stgcn-knn4-seed42-20261202-v2/.
Its latest.json points to the latest verified recovery snapshot; it may lag live training.
Preflight CPU and GPU smoke runs are stored under separate prefixes.
Checkpoint backups
GPU run backups will appear below runs/. Each verified snapshot contains
last.pt, best.pt, run configuration, validation metrics, history and checksums.
latest.json pins the snapshot revision for recovery. Checkpoints include optimizer,
scheduler, scaler and random states. Resume requires the same code/config/dataset.
No credentials, private environment files, database, or original camera images are included. Do not use test metrics to choose model or hyperparameters.
GPU release v2
The initial v1 run stopped after epoch 7 because strict gradient clipping interrupted AMP loss-scale recovery. Its epoch-7 recovery snapshot remains archived. Release v2 follows the GradScaler skip-and-reduce policy for overflowing AMP updates, keeps strict FP32 checks, and records skipped updates and scale in history. Both targeted CUDA regression tests passed. The v2 full run starts from seed 42 again; v1 results are not combined into v2. The dataset, split, graph and model configuration are unchanged.
Current recovery bundle: prepared/stgcn-yolov8-28cam-1min-v2.zip.