Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/commonroad/crgeo
Graph neural networks for autonomous driving
https://github.com/commonroad/crgeo
autonomous-vehicles deep-learning graph-neural-networks pytorch
Last synced: 5 days ago
JSON representation
Graph neural networks for autonomous driving
- Host: GitHub
- URL: https://github.com/commonroad/crgeo
- Owner: CommonRoad
- License: bsd-3-clause
- Created: 2023-01-23T17:26:49.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-29T08:58:49.000Z (19 days ago)
- Last Synced: 2024-10-29T10:03:59.679Z (19 days ago)
- Topics: autonomous-vehicles, deep-learning, graph-neural-networks, pytorch
- Language: Python
- Homepage: https://commonroad.in.tum.de/tools/commonroad-geometric
- Size: 85.6 MB
- Stars: 34
- Watchers: 2
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Introduction
**commonroad-geometric (crgeo)** is a Python framework that facilitates deep-learning based research projects in the autonomous driving domain, e.g. related to behavior planning and state representation learning.
At its core, it provides a standardized interface for heterogeneous graph representations of traffic scenes using the [PyTorch-Geometric](https://pytorch-geometric.readthedocs.io/en/latest/) framework.
The package aims to serve as a flexible framework that, without putting restrictions on potential research directions, minimizes the time spent on implementing boilerplate code. Through its object-oriented design with highly flexible and extendable class interfaces, it is meant to be imported via **pip install** and utilized in a plug-and-play manner.
## Highlighted features
- A framework for [PyTorch Geometric-based](https://pytorch-geometric.readthedocs.io/) heterogeneous graph data extraction from traffic scenes and road networks supporting user-made feature computers and edge drawers.
- Built-in functionality for collection and storing of graph-based traffic datasets as [PyTorch datasets](https://pytorch.org/vision/stable/datasets.html).
- Fully customizable live rendering support for showcasing and debugging.
- High-level training infrastructure for crgeo research projects.---
## Citing this work
If you use this work in your research, please cite it as follows:
```bibtex
@INPROCEEDINGS{meyer2023geometric,
author={Meyer, Eivind and Brenner, Maurice and Zhang, Bowen and Schickert, Max and Musani, Bilal and Althoff, Matthias},
booktitle={2023 IEEE Intelligent Vehicles Symposium (IV)},
title={Geometric Deep Learning for Autonomous Driving: Unlocking the Power of Graph Neural Networks With CommonRoad-Geometric},
year={2023},
volume={},
number={},
pages={1-8},
doi={10.1109/IV55152.2023.10186741}
}
```# Getting started
The easiest way of getting familiar with the framework is to consult the [tutorial directory](tutorials), which contains a multitude of simple application demos that showcase the intended usage of the package.
### Research guidelines:
- It is highly recommended to incorporate the package's extendable rendering capabilities as an integral part of your development workflow. This allows you to visualize what is going on in your experiment, greatly simplifying debugging efforts.
- If you ever find yourself in a situation where you have to modify the internals of this package while working on your research project, it probably means that commonroad-geometric is not flexible enough - please create a corresponding issue.---
# Installation
The installation script [`scripts/create-dev-environment.sh`](scripts/create-dev-environment.sh) installs the commonroad-geometric package and all its dependencies into a conda environment:
Execute the script inside the directory which you want to use for your development environment.
Note: make sure that the CUDA versions are compatible with your setup.
### Note: Headless rendering
If you want to export the rendering frames without the animation window popping up, please use the command given below.
``` shell
echo "export PYGLET_HEADLESS=..." >> ~/.bashrc
```
You can replace `.bashrc` with `.zshrc`, if you use `zsh`---