SRA β Spatial Reasoning Adapter (code)
Code for running SRA, a modular future-interaction graph that plugs into three stochastic trajectory predictors β MID (DDPM), LED (leapfrog-DDPM) and MoFlow (flow matching) β on NBA, Soccer and Football.
π Start here: SETUP.md β download, install, run
It covers the required directory layout, environment setup, the exact training command for each host Γ dataset, the E2 ablation settings, environment-variable switches, the adapter contract, and known gotchas.
Documents
SETUP.mdβ end-to-end setup from scratch (env, data, paths, first run)RUNNING.mdβ how to run every host Γ datasetGAMEFORMER_SRA.mdβ GameFormer+SRA negative result (does SRA generalize to feedforward models?)sample_data/README.mdβ bundled 100-scene NBA smoke-test subset
Contents
MoFlow/ flow-matching host + the SRA graph module + E4 baseline modules
MID/ DDPM host
LED/ leapfrog-DDPM host
Important: MID/ and LED/ import the SRA graph from a sibling MoFlow/ directory at
runtime β keep the three folders side by side. See Β§0 of RUNNING.md.
Not included
- Datasets (NBA / soccer / football
.npyfiles) β see Β§2 ofRUNNING.mdfor the expected paths. - Checkpoints and training logs β code only.
Inference Providers NEW
This model isn't deployed by any Inference Provider. π Ask for provider support