Apache License 2.0

项目介绍

BrainCog-X/Brain-Cog 是一个托管在 GitHub 上的开源项目,主要使用 Python 编写,采用 Apache License 2.0 许可证,目前获得 668 个 Star、111 次 Fork。

仓库全名
BrainCog-X/Brain-Cog
开源许可证
Apache License 2.0
Star 数
668
Fork 数
111
未关闭 Issue
31

README 摘要

BrainCog BrainCog is an open source spiking neural network based brain-inspired cognitive intelligence engine for Brain-inspired Artificial Intelligence, Brain-inspired Embodied AI, and brain simulation. More information on BrainCog can be found on its homepage http://www.brain-cog.network/ The current version of BrainCog contains at least 50 functional spiking neural network algorithms (including but not limited to…

完整内容见 GitHub 原始 README 或本页 。

常见问题

Brain-Cog 用什么语言开发?

主要使用 Python 编写,采用 Apache License 2.0 许可证,目前有 668 个 Star。

Brain-Cog 可以免费商用吗?

仓库采用 Apache License 2.0 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 Brain-Cog 的源码?

可以直接克隆仓库:git clone https://github.com/BrainCog-X/Brain-Cog.git,默认分支为 main;安装与运行步骤见仓库 README。

Brain-Cog 最近还在维护吗?

仓库最近一次更新为 2025年11月6日,当前有 31 个未关闭 Issue;Star 数为 668,可作为社区活跃度的参考。

关于

Brain-inspired Cognitive Intelligence Engine (BrainCog) is a brain-inspired spiking neural network based platform for Brain-inspired Artificial Intelligence and simulating brains at multiple scales. The long term goal of BrainCog is to provide a comprehensive theory and system to decode the mechanisms and principles of human intelligence and its evolution, and develop artificial brains for brain-inspired conscious living AI in future Human-AI symbiotic Society.

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

简要分析

热度分
907
价值分
434
活跃状态
活跃

README

BrainCog


BrainCog is an open source spiking neural network based brain-inspired cognitive intelligence engine for Brain-inspired Artificial Intelligence, Brain-inspired Embodied AI, and brain simulation. More information on BrainCog can be found on its homepage http://www.brain-cog.network/

The current version of BrainCog contains at least 50 functional spiking neural network algorithms (including but not limited to perception and learning, decision making, knowledge representation and reasoning, motor control, social cognition, etc.) built based on BrainCog infrastructures, and BrainCog also provide brain simulations to drosophila, rodent, monkey, and human brains at multiple scales based on spiking neural networks at multiple scales. More detail in http://www.brain-cog.network/docs/

BrainCog is a community based effort for spiking neural network based artificial intelligence, and we welcome any forms of contributions, from contributing to the development of core components, to contributing for applications.

./figures/logo.jpg

BrainCog provides essential and fundamental components to model biological and artificial intelligence.

image

Our paper is published in Patterns. If you use BrainCog in your research, the following paper can be cited as the source for BrainCog.

@article{Zeng2023,
  doi = {10.1016/j.patter.2023.100789},
  url = {https://doi.org/10.1016/j.patter.2023.100789},
  year = {2023},
  month = jul,
  publisher = {Cell Press},
  pages = {100789},
  author = {Yi Zeng and Dongcheng Zhao and Feifei Zhao and Guobin Shen and Yiting Dong and Enmeng Lu and Qian Zhang and Yinqian Sun and Qian Liang and Yuxuan Zhao and Zhuoya Zhao and Hongjian Fang and Yuwei Wang and Yang Li and Xin Liu and Chengcheng Du and Qingqun Kong and Zizhe Ruan and Weida Bi},
  title = {{BrainCog}: A spiking neural network based,  brain-inspired cognitive intelligence engine for brain-inspired {AI} and brain simulation},
  journal = {Patterns}
}

Brain-Inspired AI

BrainCog currently provides cognitive functions components that can be classified into five categories:

  • Perception and Learning
  • Knowledge Representation and Reasoning
  • Decision Making
  • Motor Control
  • Social Cognition
  • Development and Evolution
  • Safety and Security
mt mt

Brain Simulation

BrainCog currently include two parts for brain simulation:

  • Brain Cognitive Function Simulation
  • Multi-scale Brain Structure Simulation
bmbm10s bm10s bh10s

The anatomical and imaging data is used to support our simulation from various aspects.

Software-Hardware Codesign (BrainCog Firefly)

bh10s

BrainCog currently provides hardware acceleration for spiking neural network based brain-inspired AI.

bh10s

The following papers are most recent advancement of BrainCog Firefly series for Software-Hardware Codesign for Brain-inspired AI.

  • Tenglong Li, Jindong Li, Guobin Shen, Dongcheng Zhao, Qian Zhang, Yi Zeng. FireFly-S: Exploiting Dual-Side Sparsity for Spiking Neural Networks Acceleration With Reconfigurable Spatial Architecture. IEEE Transactions on Circuits and Systems I (TCAS-I), 2024.(https://doi.org/10.1109/TCSI.2024.3496554)
  • Jindong Li, Guobin Shen, Dongcheng Zhao, Qian Zhang, Yi Zeng. Firefly v2: Advancing hardware support for high-performance spiking neural network with a spatiotemporal fpga accelerator. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, 2024. (https://ieeexplore.ieee.org/abstract/document/10478105/)
  • Jindong Li, Guobin Shen, Dongcheng Zhao, Qian Zhang, Yi Zeng. FireFly: A High-Throughput Hardware Accelerator for Spiking Neural Networks With Efficient DSP and Memory Optimization. IEEE Transactions on Very Large Scale Integration (VLSI) Systems, 2023. (https://ieeexplore.ieee.org/document/10143752)

Embodied AI and Robotics (BrainCog Embot)

bh10s

bm10sbh10s bh10s bm10sbh10s bh10s

BrainCog Embot is an Embodied AI platform under the Brain-inspired Cognitive Intelligence Engine (BrainCog) framework, which is an open-source Brain-inspired AI platform based on Spiking Neural Network. The following papers are most recent advancement of BrainCog Embot:

Resources

[Lectures] | [Tutorial]

Publications using BrainCog

[Brain Inspired AI] | [Brain Simulation] | [Software-Hardware Co-design]

BrainCog Data Engine

BrainCog Data Engine

Requirements:

  • numpy
  • scipy
  • h5py
  • torch
  • torchvision
  • torchaudio
  • timm == 0.6.13
  • scikit-learn
  • einops
  • thop
  • pyyaml
  • matplotlib
  • seaborn
  • pygame
  • dv
  • tensorboard
  • tonic

Install

Install Online

  1. You can install braincog by running:

    pip install braincog

  2. Also, install from github by running:

    pip install git+https://github.com/braincog-X/Brain-Cog.git

Install locally

  1. If you are a developer, it is recommanded to download or clone braincog from github.

    git clone https://github.com/braincog-X/Brain-Cog.git

  2. Enter the folder of braincog

    cd Brain-Cog

  3. Install braincog locally

    pip install -e .

Example

  1. Examples for Image Classification
cd ./examples/Perception_and_Learning/img_cls/bp 
python main.py --model cifar_convnet --dataset cifar10 --node-type LIFNode --step 8 --device 0
  1. Examples for Event Classification
cd ./examples/Perception_and_Learning/img_cls/bp 
python main.py --model dvs_convnet --node-type LIFNode --dataset dvsc10 --step 10 --batch-size 128 --act-fun QGateGrad --device 0 

Other BrainCog features and tutorials can be found at http://www.brain-cog.network/docs/

BrainCog Assistant

Please add our BrainCog Assitant via wechat and we will invite you to our wechat developer group. image

Maintenance

This project is led by

1.Brain-inspired Cognitive Intelligence Lab, Institute of Automation, Chinese Academy of Sciences http://www.braincog.ai/

2.Center for Long-term Artificial Intelligence (CLAI) http://long-term-ai.center/

评论

暂无评论