Comments (2)
Does it mean that all other simulators except INIsim use Poisson input?
Yes. Constant input current with pyNN simulators should in principle be possible using the StepCurrentSource class, but I have not implemented it (anyone's welcome to do it).
I ran using 'nest' simulator; in the config file for lenet5/keras: i set poisson_input = True or False, both are able to run, may I know why?
If you set poisson_input = False
with pyNN simulators, the toolbox detects the mismatch and issues a warning (pretty early in the console output, probably getting buried by all the other output), and sets poisson_input = True
.
How does SpikeSourcePoisson read mnist generated spiketrains?
That is not done when constructing the input layer, but during simulation (because the input changes), here:
if self._poisson_input:
rates = kwargs[str('x_b_l')].flatten()
for neuron_idx, neuron in enumerate(self.layers[0]):
neuron.rate = rates[neuron_idx] / self.rescale_fac * 1000
from snn_toolbox.
Does it mean that all other simulators except INIsim use Poisson input?
Yes. Constant input current with pyNN simulators should in principle be possible using the StepCurrentSource class, but I have not implemented it (anyone's welcome to do it).
I ran using 'nest' simulator; in the config file for lenet5/keras: i set poisson_input = True or False, both are able to run, may I know why?
If you set
poisson_input = False
with pyNN simulators, the toolbox detects the mismatch and issues a warning (pretty early in the console output, probably getting buried by all the other output), and setspoisson_input = True
.How does SpikeSourcePoisson read mnist generated spiketrains?
That is not done when constructing the input layer, but during simulation (because the input changes), here:
if self._poisson_input: rates = kwargs[str('x_b_l')].flatten() for neuron_idx, neuron in enumerate(self.layers[0]): neuron.rate = rates[neuron_idx] / self.rescale_fac * 1000
Hi Rbodo,
Ok I didn't notice the auto switched to poisson_input=true. That's explain the whole thing.
Thanks!
Rgds
Del
from snn_toolbox.
Related Issues (20)
- TypeError: can't multiply sequence by non-int of type 'float' HOT 4
- IndexError: only integers, slices (`:`), ellipsis (`...`), numpy.newaxis (`None`) and integer or boolean arrays are valid indices
- SpinnmanIOException: IO Error: Failed to communicate with the machine HOT 7
- Query regarding INI simulator HOT 6
- Conv1D Conversion Normalization Issue HOT 2
- ONNX model could not be ported to Keras.Mismatched elements 100% HOT 1
- Code required for a research paper HOT 2
- ModuleNotFoundError: No module named 'keras_rewiring' HOT 2
- Which neuromorphic hardware does SNNtoolbox simulate ? HOT 3
- Error happened while building parsed model HOT 2
- Key Error HOT 1
- index -1 is out of bounds for axis 1 with size 0 HOT 2
- Membrane Potential Values after spike conv layer. HOT 1
- Loading a a converted SNN .h5 model using 'load_model' HOT 1
- Energy and runtime estimation for running the SNN on neuromorphic simulator HOT 3
- TTTFS dyn thresh and TTFS corrective not working HOT 2
- Poisson Rate Encoding HOT 4
- Quantization HOT 6
- TTFS HOT 1
- Cannot import name 'literal' from typing. HOT 1
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 snn_toolbox.