Giter Site home page Giter Site logo

1178605033 / ems-yolo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from biclab/ems-yolo

0.0 0.0 0.0 378 KB

Offical implementation of "Deep Directly-Trained Spiking Neural Networks for Object Detection" (ICCV2023)

Home Page: https://arxiv.org/abs/2307.11411

License: GNU General Public License v3.0

Shell 0.26% Python 99.74%

ems-yolo's Introduction

Deep Directly-Trained Spiking Neural Networks for Object Detection (ICCV2023)

Requirements

The code has been tested with pytorch=1.10.1,py=3.8, cuda=11.3, cudnn=8.2.0_0 . The conda environment can be copied directly via environment.yml. Some additional dependencies can be found in the environment.txt.

Install
$ git clone https://github.com/BICLab/EMS-YOLO.git
$ pip install -r requirements.txt

Pretrained Checkpoints

We provide the best and the last trained model based on EMS-Res34 on the COCO dataset.

detect.py runs inference on a variety of sources, downloading models automatically from the COCO_EMS-ResNet34 .

The relevant parameter files are in the runs/train.

Training & Addition

Train

The relevant code for the Gen1 dataset is at /g1-resnet. It needs to be replaced or added to the appropriate root folder.

For gen1 dataset:

python path/to/train_g1.py --weights ***.pt --img 640

For coco dataset:

python train.py

Calculating the spiking rate:

Dependencies can be downloaded from Visualizer.

python calculate_fr.py

Contact Information

@inproceedings{su2023deep,
  title={Deep Directly-Trained Spiking Neural Networks for Object Detection},
  author={Su, Qiaoyi and Chou, Yuhong and Hu, Yifan and Li, Jianing and Mei, Shijie and Zhang, Ziyang and Li, Guoqi},
  booktitle={Proceedings of the IEEE/CVF International Conference on Computer Vision},
  pages={6555--6565},
  year={2023}
}

YOLOv3 is a family of object detection architectures and models pretrained on the COCO dataset, and represents Ultralytics open-source research into future vision AI methods, incorporating lessons learned and best practices evolved over thousands of hours of research and development.

Our code is also implemented in this framework, so please remember to cite their work.

ems-yolo's People

Contributors

biclab avatar qiaoyi-su 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.