This repository contains the source code to reproduce the experiments in our IROS 2023 paper. Video of results
- Clone this repository:
git clone https://github.com/jatan12/DiffProj.git
cd DiffProj
- Create a conda environment and install the dependencies:
conda create -n diffproj python=3.8
conda activate diffproj
pip install -r requirements.txt
- Download Trained Models to the weights directory.
Four Lane
python main_diffproj.py --density ${select} --render True
Two Lane
python main_diffproj.py --density ${select} --two_lane True --render True
To run a baseline {batch, grid, mppi}:
Four Lane
python main_baseline.py --baseline ${select} --density ${select} --render True
Two Lane
python main_baseline.py --baseline ${select} --density ${select} --two_lane True --render True
-
Download the training dataset and extract the files to the dataset directory.
-
The training example is shown in the Jupyter Notebook and can also be viewed using Notebook Viewer.