Skip to content

A simple tool for generating training data from the Carla driving simulator

License

Notifications You must be signed in to change notification settings

Ozzyz/carla-data-export

Repository files navigation

Carla Data Export

This repository contains the code we used for generating training data from the CARLA simulator in our paper Multimodal 3D Object Detection from Simulated Pretraining

Installation

Download and extract CARLA 0.8.4 from https://github.com/carla-simulator/carla/releases/tag/0.8.4
This project expects the carla folder to be inside this project i.e PythonClient/carla-data-export/carla
Install all the necessary requirements for your python environment using:

pip install -r requirements.txt

⚠️ Note: The project has only been tested with Python 3.x <= 3.6

Generating data

Before the data generation scripts can be run you must start a CARLA server. This can be done by running the executable in the CARLA root folder with the appropriate parameters. Running the server on windows in a small 200x200 window would for example be:

./CarlaUE4.exe -carla-server -fps=10 -windowed -ResX=200 -ResY=200

Once the server is running, data generation can be started using (remove --autopilot for manual control):

python datageneration.py --autopilot

Citation

If you have used our work, please cite our paper:

@article{brekke2019multimodal,
  title={Multimodal 3D Object Detection from Simulated Pretraining},
  author={Brekke, {\AA}smund and Vatsendvik, Fredrik and Lindseth, Frank},
  journal={arXiv preprint arXiv:1905.07754},
  year={2019}
}

About

A simple tool for generating training data from the Carla driving simulator

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published