GithubHelp home page GithubHelp logo

king666888 / grit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from uoe-agents/grit

0.0 1.0 0.0 3.87 MB

Verifiable Goal Recognition for Autonomous Driving using Decision Trees

License: Other

Python 6.00% Jupyter Notebook 94.00%

grit's Introduction

GRIT

This repo contains the implementation of the method described in the paper:

"GRIT: Fast, Interpretable, and Verifiable Goal Recognition with Learned Decision Trees for Autonomous Driving" by Brewitt, et al. [1] (IROS 2021)

In the paper described above, GRIT was compared to another method named IGP2, for which code is available here: https://github.com/uoe-agents/IGP2 [2]

Please cite:

If you use this code, please cite "GRIT: Fast, Interpretable, and Verifiable Goal Recognition with Learned Decision Trees for Autonomous Driving"

@inproceedings{brewitt2021grit,
  title={GRIT: Fast, Interpretable, and Verifiable Goal Recognition with Learned Decision Trees for Autonomous Driving},
  author={Cillian Brewitt and Balint Gyevnar and Samuel Garcin and Stefano V. Albrecht},
  booktitle={2021 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS 2021)},
  year={2021}
}

The files "evalutation/run_track_visualisation.py", "core/tracks_import.py", and "core/track_visualizer.py" are based on the inD Dataset Python Tools available at https://github.com/ika-rwth-aachen/drone-dataset-tools

#Setup Make sure you are using Python 3.6 or later.

Install Lanelet2 following the instructions here.

Clone this repository:

git clone https://github.com/uoe-agents/GRIT.git

Install with pip:

cd GRIT
pip install -e .

Extract the inD and rounD datasets into the GRIT/data directory.

Apply patches to the lanelet2 maps:

cd lanelet_map_patches
python patch_lanelet_maps.py

Preprocess the data and Extract features:

cd ../core
python data_processing.py

Train the decision trees:

cd ../decisiontree
python train_decision_tree.py

Calculate evaluation metrics on the test set:

cd ../evaluation/
python evaluate_models_from_features.py

Show animation of the dataset along with inferred goal probabilities:

python run_track_visualization.py --scenario heckstrasse --goal_recogniser trained_trees

References

[1] C. Brewitt, B. Gyvenar, S. Garcin, S. V. Albrecht, "GRIT: Fast, Interpretable, and Verifiable Goal Recognition with Learned Decision Trees for Autonomous Driving", in IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), 2021

[2] S. V. Albrecht, C. Brewitt, J. Wilhelm, B. Gyevnar, F. Eiras, M. Dobre, S. Ramamoorthy, "Interpretable Goal-based Prediction and Planning for Autonomous Driving", in Proc. of the IEEE International Conference on Robotics and Automation (ICRA), 2021

grit's People

Contributors

cbrewitt avatar svalbrecht avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.