How aras62/piepredict works
This repository implements pedestrian intention estimation and trajectory prediction, with pretrained intention, speed, and trajectory models. The documented workflow is to supply PIE annotations and video data, train the models separately, or evaluate the combined intention-and-speed trajectory model. The sampled code shows intention image-feature preparation and model logic in pie_intent.py, trajectory data preparation and testing in pie_predict.py, and image helpers in utils.py. The training entry point and speed-model implementation were not sampled, so their internal wiring is not inferred.
Main entry points: train_test.py Training and test entry point · pie_intent.py Intention estimation · pie_predict.py Combined model evaluation · speed Vehicle speed model
Components 13
PIE data
- PIE annotations and clips
- Dataset setup
README.md
Prediction models
- Intention estimation
pie_intent.py - Image feature preparation
pie_intent.py - Image preprocessing helpers
utils.py - Vehicle speed model
data/pie/speed - Trajectory estimation
pie_predict.py
Training and evaluation
- Combined model evaluation
pie_predict.py - Training and test entry point
train_test.py
Pretrained artifacts
- Intention model files
data/pie/intention/context_loc_pretrained - Speed model files
data/pie/speed/speed_pretrained - Trajectory model files
data/pie/trajectory/loc_intent_speed_pretrained
Other components
- Researcher
Connections 14
- Researcher → Dataset setup: sets up
README.md - Dataset setup → PIE annotations and clips: uses
README.md - Researcher → Training and test entry point: runs
README.md - Training and test entry point → Intention estimation: trains separately
README.md - Training and test entry point → Vehicle speed model: trains separately
README.md - Training and test entry point → Trajectory estimation: trains separately
README.md - Intention estimation → Image feature preparation: generates
pie_intent.py - Image feature preparation → Image preprocessing helpers: uses
pie_intent.py - Combined model evaluation → Intention estimation: loads intents
pie_predict.py - Combined model evaluation → Vehicle speed model: combines speed
README.md - Combined model evaluation → Trajectory estimation: evaluates
README.md - Intention estimation → Intention model files: saves model files
pie_intent.py - Vehicle speed model → Speed model files: provides pretrained model
README.md - Trajectory estimation → Trajectory model files: loads model files
pie_predict.py