Still unfinished
This guide outlines the steps to implement VectorNet using the NuPlan dataset.
In addition to the dependencies required by the NuPlan-devkit
, the only additional library needed is pyG
. It is recommended to use torch_geometric
version 2.0.3
.
- Download the
.whl
files forpyG
from this link. - Choose the files tagged with
cp39-linux
and the appropriate version for your setup. - Install the downloaded
.whl
files using pip:pip install <path_to_downloaded_file>.whl
- Install
torch_geometric
:pip install torch_geometric==2.0.3
Run the following command to prepare the data for training:
python3 process_data.py
To start training VectorNet, execute:
python3 train.py
Follow the instructions in visual.ipynb
to visualize the prediction results. The visualization notebook allows you to see the outcomes interactively within a Jupyter environment.
- Configuration settings can be modified in
utils/config.py
. - Example of a prediction result: