Zaabon / spiking_yolo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This project is a combined neural network utilizing an spiking CNN with backpropagation and YOLOv3 for object detection.

Requirements

Python 3.8 or later with all requirements.txt dependencies installed, including torch>=1.6. In addition you will need to have setup Jupyter with CUDA support for GPU.

Running the project

Download the dataset N-Caltech101 from https://www.garrickorchard.com/datasets/n-caltech101 and unzip in the project root.

With Jupyter, run data_processing.ipynb. This might take a while, you might not need to process all data.

The full network can be run through spiking_yolov3.ipynb while only the original YOLOv3 is runnable through original_yolov3.ipynb.

Code for spiking solution is modified from https://github.com/yjwu17/BP-for-SpikingNN and can be found in the directory SpikingNN.

Most of main YOLOv3 code can be found in train.py which is originally from https://github.com/ultralytics/yolov3

About

License:GNU General Public License v3.0


Languages

Language:Python 97.4%Language:Shell 1.7%Language:Dockerfile 0.9%