Framework for integrating prior knowledge into trajectory prediction models via Bayesian Continual Learning.
- Clone this repository
- Download NuScenes Trajectory Prediction Dataset
- Download Trajectory Data and put into data directory
- Install Dependencies
- pip install requirements.txt
- pip install requirements_no_deps.txt --no-deps
- For GPU Use: cudatoolkit=11.2.2, cudatoolkit-dev=11.2.2, cudnn=8.2.1.32
- Run with bayes_covernet/main.py as main entrypoint
- Edit config.gin to match your needs/setup.
- First start should use -c and -p for populating the cache. See --help for more arguments and description.
For additional arguments, see python main.py --help
. Running in HEBO optimization mode (-o3) requires an additional pip install HEBO==0.3.2
Configuration files for reruning experiments can be found under bayes_covernet\config
. Please see the paper for hyperparameter configurations. GVCL and Transfer runs require setting a knowledge integrated model checkpoint. GVCL uses a VI_Prior model, set as Trainer.prior_model
. Transfer uses a Det_Pretrain model, set as Trainer.load_model
.
The provided software computes a trajectory prediction model under consideration of a prior distribution. Currently available are:
- Discrete Driveable: Discrete set of trajectories, as defined by CoverNet, conditioned on all keypoints beeing driveable, as defined by the dataset.
For further help, see the API-documentation or contact the maintainers.
Copyright (c) 2022 Continental Corporation. All rights reserved.
This repository is licensed unter the BSD 3-Clause "New" or "Revised" license. See LICENSE.txt for the full license text.
See CHANGELOG.md.