Installing and Troubleshooting ssnTorch
Installation
These python libraries (packages) are required. On install using pip command, these dependencies are installed. nd thus automatically installed when using pip command.
torch >= 1.1.0 ; numpy >= 1.17 ; pandas ; matplotlib ; math ; nir ; nirtorch
In Terminal Command Install
Open Win Menu > type: cmd > enter > a terminal window opens > In window type pip install
> pip install snntorch
In Python file
import torch, torch.nn as nn
import snntorch as snn
Troubleshooting
In Tutorial 1 – torchvision is required – TorchVision is a popular library for computer vision tasks, and it works alongside PyTorch.
Install using terminal command
> pip install torchvision