fangwei123456 / spikingjelly

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

Fixed membrane potential in all time steps #436

Open moh-sprit opened 10 months ago

moh-sprit commented 10 months ago

Hi Is it normal if the membrane potential of all neurons(in all layers or just the last layer) has no change in all time steps? If it is not ok, can you explain why this problem occurs? I use Spikingjelly 0.0.0.0.12 @fangwei123456 membrane spike

fangwei123456 commented 10 months ago

Of course not. I suggest that you build an SNN with only one linear layer and one spiking neuron layer, and check if it works well.

moh-sprit commented 10 months ago

I did what you said but the result was the same. Membrane potential did not change. mem1 spike1