spikingjelly-framework

Build, train and deploy SNNs with PyTorch-based SpikingJelly framework.

2|Updated Feb 12, 2026
One-click install
npx skills add https://github.com/hiyenwong/ai_collection --skill spikingjelly-framework
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: spikingjelly-framework
Source: https://github.com/hiyenwong/ai_collection/tree/main/collection/skills/spikingjelly-framework
Command: npx skills add https://github.com/hiyenwong/ai_collection --skill spikingjelly-framework

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

SpikingJelly 是一个用于构建、训练和部署脉冲神经网络(SNN)的开发框架,提供从数据准备到硬件部署的一站式支持,降低入门门槛并提升实验效率。

Core Features & Use Cases

  • 模块化的 SNN 构建与训练,支持 LIF/IF 等神经元模型及 ANN-to-SNN 转换
  • 支持事件驱动数据集(如 DVS、N-MNIST 等)及神经形态数据处理
  • 提供训练优化工具(代理梯度、直接训练、ANN-to-SNN 转换)与神经形态芯片部署能力
  • 应用场景包括边缘设备的低功耗推理、时序模式识别、神经科学研究与机器人控制

Quick Start

安装 spikingjelly 并运行示例以开始构建并训练一个 SNN。

Frequently Asked Questions about spikingjelly-framework

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert an ANN to an SNN for low-power edge inference?

You can convert an ANN to an SNN using the ANN-to-SNN conversion methods provided by the framework. This enables low-power inference on edge devices by transforming pre-trained artificial neural networks into spiking neural networks.

What is the best way to process DVS event-driven data for spiking neural networks?

The best way to process DVS event-driven data is by utilizing the framework's neuromorphic data handling capabilities. It supports event-driven datasets like DVS and N-MNIST, allowing efficient ingestion and preprocessing for spiking neural network training.

Can I deploy spiking neural networks directly onto neuromorphic hardware like Loihi or TrueNorth?

Yes, you can deploy spiking neural networks onto neuromorphic hardware like Loihi or TrueNorth. The framework provides deployment capabilities to export trained models directly to these chips for efficient neuromorphic computing.

How do you train spiking neural networks using surrogate gradient methods?

You train spiking neural networks using surrogate gradient methods by applying the framework's training optimization tools. This approach allows backpropagation through discrete spikes, enabling direct training of models like LIF or IF neurons.

Does SpikingJelly require PyTorch to build and train spiking neural networks?

Yes, SpikingJelly requires a PyTorch-based environment to build and train spiking neural networks. It leverages PyTorch's infrastructure to provide modular SNN construction, neuron modeling, and efficient training optimizations.

What neuron models are supported for building spiking neural networks?

Supported neuron models for building spiking neural networks include LIF and IF. These modular components allow researchers to construct biologically plausible networks for temporal pattern recognition and neuromorphic research.