Learning driving policies using an end-to-end network has been proved a promising solution for autonomous driving. Due to the lack of a benchmark driver behavior dataset that contains both the visual and the LiDAR data, existing works solely focus on learning driving from visual sensors. Besides, most works are limited to predict steering angle yet neglect the more challenging vehicle speed control problem.
In this project, we propose release our Code and Dataset for training our FlowDriveNet, which is a novel end-to-end network and takes advantages of sequential visual data and LiDAR data jointly to predict steering angle and vehicle speed.
- Python 3.x
- Tensorflow 1.x.x
- Python Libraries: numpy, scipy and laspy
The dataset used in this project is created from the Udacity CH2
dataset, which is a popular open source driving dataset and can be used for the vision-based driving learning methods. However, the original dataset does not contain LiDAR data, then we extract the raw point cloud data and remove distortions from the original ROS bag file.
Pipeline for creating this data:
- Extracting images (center, right, left) and corresponding label file from bag file. (6311,6311,6288)
- Extracting Point Cloud data from bag file and save to seperate pcd file. (3096)
- fix calibration file
- covert raw velodyne point packet topic to PointCloud2 topic
- save to pcd file using ros node
- Registering the point cloud with images and labels using timestamps.(3096)
Related tools:
- Data extraction tool: udacity launch
- Optical Flow and Point Flow extraction tool: './data/data_prepare.py' for more implementation details.
# single GPU
python train.py --data_root xx --input_config xx ...
# Multiple GPU
python train_multi-gpus.py
# Evaluation
python eval.py
@article{wang,
title={FlowDriveNet: An End-to-End Network for Learning Driving Policies from Image Optical Flow and LiDAR Point Flow},
author={Shuai Wang, Jiahu Qin, Menglin Li and Yaonan Wang},
journal={IEEE International Conference on Robotics and Automation (ICRA)},
year={2021}
}
This Project is released under the Apache licenes.