sra-trajectory-code / README.md
po03087's picture
Add SETUP.md β€” end-to-end setup instructions
aca5cc9 verified
|
Raw
History Blame Contribute Delete
1.53 kB
---
license: other
tags:
- trajectory-prediction
- diffusion
- flow-matching
---
# 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`](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`](SETUP.md) β€” end-to-end setup from scratch (env, data, paths, first run)
- [`RUNNING.md`](RUNNING.md) β€” how to run every host Γ— dataset
- [`GAMEFORMER_SRA.md`](GAMEFORMER_SRA.md) β€” GameFormer+SRA negative result (does SRA generalize to feedforward models?)
- [`sample_data/README.md`](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 `.npy` files) β€” see Β§2 of `RUNNING.md` for the expected paths.
- **Checkpoints and training logs** β€” code only.