This repository contains the inference code for the model introduced in the paper below:
Amelia: A Large Dataset and Model for Airport Surface Movement Forecasting [paper]
Ingrid Navarro *, Pablo Ortega-Kral *, Jay Patrikar *, Haichuan Wang, Zelin Ye, Jong Hoon Park, Jean Oh and Sebastian Scherer
AmeliaInference: Tool intended to be a standalone version of AmeliaTF used only for inference purposes without the training/evaluation/testing overhead code.
If you're interested in training trajectory forecasting models, please refer to AmeliaTF.
To run this repository, you first need to download the amelia dataset. Follow the instructions here to download the dataset.
Once downloaded, create a symbolic link into datasets:
cd datasets
ln -s /path/to/amelia .Make sure that you have conda installed.
Recommended: Use the install.sh to download and install the Amelia Framework:
chmod +x install.sh
./install.sh ameliaThis will create a conda environment named amelia and install all dependencies.
Alternatively, refer to INSTALL.md for manual installation.
Note: AmeliaInference requires the Amelia dataset and AmeliaTF dependencies to run, refer to AmeliaTF's and AmeliaInference's installation.
Activate your amelia environment (Please follow the installation instructions above):
conda activate ameliaRun the testing script:
python run_inference.py -m tests=<test_name>Where:
<test_name>is the name of the test to run. The tests files are in ayamlformat and are located in theconfigs/testdirectory. The default test isdefault.yaml. The test files contain the configuration for the test, including the model, the dataloader, the dataset, the device, the seed, and the output directory.
The next example shows how to change the test file to example_kbos_critical.yaml, which is a test file that uses the KBOS dataset and the critical model and it is included in the repository as an example.
python run_inference.py -m tests=example_kbos_criticalProduces the following output in the output directory:
output
|-- KBOS_26_1672610400_critical_ego
|-- .hydra
|-- kbos_scene_*.png
|-- KBOS_26_1672621200_critical_ego
|-- .hydra
|-- kbos_scene_*.pngwhere:
KBOS_26_1672610400_critical_egoandKBOS_26_1672621200_critical_egoare the directories with the specifications configured in theexample_kbos_critical.yamlfile.kbos_scene_*.pngfiles are the images with the predictions generated by the model for each scene.
If you find our work useful in your research, please cite us!
@inbook{navarro2024amelia,
author = {Ingrid Navarro and Pablo Ortega and Jay Patrikar and Haichuan Wang and Zelin Ye and Jong Hoon Park and Jean Oh and Sebastian Scherer},
title = {AmeliaTF: A Large Model and Dataset for Airport Surface Movement Forecasting},
booktitle = {AIAA AVIATION FORUM AND ASCEND 2024},
chapter = {},
pages = {},
doi = {10.2514/6.2024-4251},
URL = {https://arc.aiaa.org/doi/abs/10.2514/6.2024-4251},
eprint = {https://arc.aiaa.org/doi/pdf/10.2514/6.2024-4251},
}