fangwei123456 / spikingjelly

SpikingJelly is an open-source deep learning framework for Spiking Neural Network (SNN) based on PyTorch.
https://spikingjelly.readthedocs.io
Other
1.35k stars 239 forks source link

'LIFNode' object has no attribute 'spike' #224

Open HFourier opened 2 years ago

HFourier commented 2 years ago

I use the latest version of SJ, but I find neither the 'LIFNode' or 'MultiStepLIFNode' object has attribute 'spike' when I try to use the 'visualizing' function.

fangwei123456 commented 2 years ago

https://github.com/fangwei123456/spikingjelly/discussions/188

fangwei123456 commented 2 years ago

In the new version of SJ (developing version), you can use the monitor to record any data:

https://spikingjelly.readthedocs.io/zh_CN/latest/activation_based_en/monitor.html