genn-team / ml_genn

A library for deep learning with Spiking Neural Networks (SNN).
https://ml-genn.readthedocs.io
GNU Lesser General Public License v2.1
24 stars 7 forks source link

tau_refrac issues with eprop #89

Open neworderofjamie opened 7 months ago

neworderofjamie commented 7 months ago

LIF and ALIF neurons without refractory times cause errors. Spectrum of solutions include:

  1. Update learning rules to handle non-refractory neurons
  2. Give an error if neurons without refractory periods are encountered
  3. Add a default refractory period to compiler defaults

1 is definitely the way to go and only marginally harder than the others