Installation
July 18, 2024 ยท View on GitHub
To make usage easier, we have prepared a Docker image. Download it from the following link:
Download Docker Image
Using Docker
-
Load the image:
docker load -i IMAGE_DOWNLOAD_PATH -
Edit the Docker mount point: Update the mount point in
./docker/docker_run.shas needed. -
Run the Docker container:
sh ./docker/docker_run.sh
Install Nuplan Devkit
-
Navigate to the
third_partydirectory:cd GUMP/third_party -
Clone the Nuplan Devkit repository:
git clone --branch feat-v1.3_gump git@github.com:HorizonRobotics/nuplan-devkit.git -
Install the Nuplan Devkit:
cd nuplan-devkit pip install -e . -
Set the
NUPLAN_DEVKIT_PATHenvironment variable:export NUPLAN_DEVKIT_PATH=$YOUR_PATH_TO_GUMP/GUMP/third_party/nuplan-devkit -
install following packages:
pip install aiofiles aioboto3 flatdict adjustText loralib easydict einops_exts pip install waymo-open-dataset-tf-2-12-0==1.6.4
Install ALF
Follow these steps to install ALF while ignoring the dependencies of torch:
-
Navigate to the
third_partydirectory:cd GUMP/third_party -
Clone the ALF repository:
git clone https://github.com/HorizonRobotics/alf.git -
Edit the
setup.pyfile to ignore the dependencies of torch:Comment out lines 52, 53, and 54 in the
setup.pyfile:# 'torch==2.2.0', # 'torchvision==0.17.0', # 'torchtext==0.17.0', -
Install ALF:
pip install -e .