Skip to content

AkashVA55/XAI-in-Self-Driving-Car

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XAI-in-Self-Driving-Car

This project implements Explainable AI in self driving cars by the use of post-hoc explanations.


This repository contains Python scripts for training a machine learning model, running simulations, performing explanations using LIME, and conducting object detection.

Contents

  1. model_training.py: Python script for training the machine learning model.
  2. drive.py: Python script to run the trained model in a simulation environment.
  3. limepro.py: Python script demonstrating LIME (Local Interpretable Model-agnostic Explanations) for explaining model predictions
  4. object_detection.py: Python script for performing object detection tasks.

Usage

  • Model Training: Use model_training.py to train your machine learning model. Adjust parameters and datasets as needed within the script.

  • Simulation: Run simulations using drive.py to evaluate the trained model in a simulated environment such as Udacity.

  • Explanations: Explore explanations for model predictions with limepro.py using the LIME framework.

  • Object Detection: Perform object detection tasks using object_detection.py.

  • Data Collection: The data used to train the model are image files obtained by using the record feature available in both airsim and udacity simulators. The data has to preprocessed and augmented.

Additional Resources


Both simulation environments are open-source.