Comments (3)
I want to verify if Norse can replicate the results of other frameworks (SpikingJelly and SNNTorch), and finally I found that the "lif_feed_forward_integral" function could be used to do so.
from norse.
Good question @lucifer2859. Let me provide a quick answer and a somewhat more elaborate.
Quickly, yes there are delay free implementations for some neurons. But not for all. Luckily, it's straightforward to change existing neurons to not include the delay, simply by integrating the incoming current before calculating the neuron output (and not after, as it's done in some cases).
The slightly longer answer is that you're hitting a longer discussion we've had here #326 and here #325. The main problem, as I see it, is that Norse uses forward Euler integration, which means that we can efficiently encode our neuron dynamics, but slightly inaccurately compared to other solvers.
I'm happy to enter a discussion about how to do this more efficiently. I'm also equally happy to standardize the code-base so we have the same behavior everywhere. PR #326 implements this for quite some neuron models, and it would be natural to extend this.
Coming back to your question, can I ask about your use-case? Do you have a particular reason for requiring integrations without delays?
from norse.
Happy to hear that :-)
Feel free to re-open if needed.
from norse.
Related Issues (20)
- Implement BNTT (Batch Norm through time)
- Implement Forward Propagation Through Time (FPTT)
- Implement Liquid Time Constant SNN
- Error in population_encode when encoding higher-dimensional Tensor HOT 5
- spack build fails HOT 1
- Add IAF neuron module
- Windows CI builds fail HOT 1
- Implement synops metric HOT 3
- Move to PyTorch 2.0 HOT 1
- Implement wheel build matrix
- Norse is broken on Google Colab HOT 1
- Require an example that using STDP to train the SNN HOT 1
- CIFAR example not working HOT 1
- ipywidgets package missing when executing notebook for documentation
- Improve docs HOT 13
- Undefined Symbol: _ZN3c106detail19maybe_wrap_dim_slowIlEET_S2_S2_b HOT 3
- leaky_integrator_box not working with multiple GPUs HOT 9
- Speech commands loading broken HOT 1
- Neuron cell with Neuron parameter incompatibility warning missing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from norse.