Giter Club home page Giter Club logo

snn-dvs-carla's Introduction

This is the code for my BU EC500 (Spring 2023) course project report **Autonomous Driving using Spiking Neural Networks on Dynamic Vision Sensor Data: A Case Study of Traffic Light Change Detection **.

You can find the project report here.

If you find the code useful, please star this repo. Thank you!

Setup

Run the following commands one by one to create a conda environment and install related libraries

conda create -n snn python=3.8
conda activate snn
pip install spikingjelly
conda install pandas

Run the following commands to create a copy of this repository in your local system.

git clone https://github.com/xueleichen/snn-dvs-carla.git
cd snn-dvs-carla

The code has been tested with:

  • Ubuntu 20.04.4 LTS
  • CUDA Tookit 11.1
  • CUDNN 8.4.0
  • Nvidia RTX 3060

Note: There is a environment.yml file in this repository, which records the library versions that I used. You can also quickly set up using the following one-line command:

conda env create -f environment.yml

Data and Files

DVS data are stored in the ./data folder. RGB data are stored in the ./rgb_data folder.

./*.txt files store training testing data path and labels.

Training

I designed three configurations for experiments in this project: SNN with DVS data, CNN with DVS data, and CNN with RGB data.

When you run the following three commands, you will get three result curves in my report.

python main_SNN.py
python main_CNN.py
python main_CNN_Image.py

snn-dvs-carla's People

Contributors

xueleichen avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

junyang0412

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.