BrainCog
Introduction
BrainCog is a required installation package for all tasks in this benchmark. It provides a rich variety of neuron types, supports direct training of SNNs, and is compatible with brain simulation tasks. Although this framework was initially designed with low coupling in mind to accommodate other platforms such as SpikingJelly and BrainPy, we still adopt BrainCog as the baseline and recommend users to utilize it
Installation
Install from GitHub (recommended)
Since the pip repository updates may lag behind GitHub, we recommend installing BrainCog directly from GitHub.
You can use the following command in your terminal to install it from GitHub:
pip install git+https://github.com/braincog-X/Brain-Cog.git
Install from pip
Alternatively, you can install BrainCog from the pip repository using the following command:
pip install braincog
Install locally
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
Enter the folder of braincog
cd Brain-Cog
Install braincog locally
pip install -e .