Git Product home page Git Product logo

ssir's Introduction

[TCSVT 2023] Spike Camera Image Reconstruction Using Deep Spiking Neural Networks

Rui Zhao1, Ruiqin Xiong1, Jian Zhang2, Zhaofei Yu1, Shuyuan Zhu3, Lei Ma 1, Tiejun Huang1

1. National Engineering Research Center of Visual Technology, School of Computer Science, Peking University
2. School of Electronic and Computer Engineering, Peking University Shenzhen Graduate School
3. School of Information and Communication Engineering, UESTC


This repository contains the official source code for our paper:

Spike Camera Image Reconstruction Using Deep Spiking Neural Networks

TCSVT 2023

Paper

Environment

You can choose cudatoolkit version to match your server. The code is tested on PyTorch 2.0.1+cuda12.0.

conda create -n ssir python==3.10
conda activate ssir
# You can choose the PyTorch version you like, we recommand version >= 1.10.1
# For example
pip install torch==2.0.1 torchvision==0.15.2 torchaudio==2.0.2
pip install -r requirements.txt

Prepare the Data

1. Download and deploy the SREDS dataset

BaiduNetDisk (Password: 2728)

train.tar corresponds to the training data, and test.tar corresponds to the testing data.

Move the above two .tar file to the data root directory and extract to the current directory

file directory:
train:
your_data_root/crop_mini/spike/...
your_data_root/crop_mini/image/...
test:
your_data_root/spike/...
your_data_root/imgs/...

2. Set the path of RSSF dataset in your serve

In the line25 of main.py or set that in command line when running main.py

Evaluate

cd shells
bash eval_SREDS.sh

Train

cd shells
bash train_SSIR.sh

We recommended to redirect the output logs by adding >> SSIR.txt 2>&1 to the last of the above command for management.

Citation

If you find this code useful in your research, please consider citing our paper.

@article{zhao2023spike,
  title={Spike Camera Image Reconstruction Using Deep Spiking Neural Networks},
  author={Zhao, Rui and Xiong, Ruiqin and Zhang, Jian and Yu, Zhaofei and Zhu, Shuyuan and Ma, Lei and Huang, Tiejun},
  journal={IEEE Transactions on Circuits and Systems for Video Technology (TCSVT)},
  year={2023},
}

If you have any questions, please contact:
[email protected]

ssir's People

Contributors

ruizhao26 avatar

Stargazers

GaoYe avatar  avatar Interstellar_H avatar Xuanyu Zhang avatar chenk avatar

Watchers

 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.