GithubHelp home page GithubHelp logo

THE DEAD NEURON PROBLEM about bindsnet HOT 14 CLOSED

ZackWave avatar ZackWave commented on May 28, 2024
THE DEAD NEURON PROBLEM

from bindsnet.

Comments (14)

Hananel-Hazan avatar Hananel-Hazan commented on May 28, 2024

Thanks for using BindsNET.
Is that an issue with BindsNET or do you have something to discuss that more suitable to the Discussions section?

from bindsnet.

ZackWave avatar ZackWave commented on May 28, 2024

感谢您使用 BindsNET。这是 BindsNET 的问题,还是您有什么要讨论的更适合讨论部分?

I used bindsnet to implement this network. After using postpre, only the part connected to input can send pulses, and the other parts will not work.

from bindsnet.

Hananel-Hazan avatar Hananel-Hazan commented on May 28, 2024

What network did you implement?

from bindsnet.

ZackWave avatar ZackWave commented on May 28, 2024

您实施了什么网络?

Network(
(inpt_layer): Input()
(M_layer): IzhikevichNodes()
(output_layer): IzhikevichNodes()
(inpt_layer_to_M_layer): Connection(
(source): Input()
(target): IzhikevichNodes()
)
(M_layer_to_M_layer): Connection(
(source): IzhikevichNodes()
(target): IzhikevichNodes()
)
(M_layer_to_output_layer): Connection(
(source): IzhikevichNodes()
(target): IzhikevichNodes()
)
)

from bindsnet.

ZackWave avatar ZackWave commented on May 28, 2024

您实施了什么网络?

input_data = poisson(datum=frame, time=time, device=device)
or
input_data = bernoulli(datum=frame, time=time, device=device)

from bindsnet.

ZackWave avatar ZackWave commented on May 28, 2024

What network did you implement?

This neural network can learn with Bernoulli but not with Poisson. It doesn't work even if made deeper. The learning rate is 1e-2.

from bindsnet.

Hananel-Hazan avatar Hananel-Hazan commented on May 28, 2024

I'm sorry, I dont understand what code do you use, and what is the issue you facing. From the little information that I have, you may have you may need to use higher weights values. But that is a guess.

from bindsnet.

ZackWave avatar ZackWave commented on May 28, 2024

对不起,我不明白你用什么代码,你面临的问题是什么。从我掌握的少量信息来看,您可能需要使用更高的权重值。但这只是猜测。

Thank you, the adjustment of wmax was effective.

from bindsnet.

ZackWave avatar ZackWave commented on May 28, 2024

对不起,我不明白你用什么代码,你面临的问题是什么。从我掌握的少量信息来看,您可能需要使用更高的权重值。但这只是猜测。

How should I set appropriate wmax, wmin, and norm values? And how can I achieve sparse connections? I have tried setting some weights to zero, but this method does not work due to postpre.

from bindsnet.

Hananel-Hazan avatar Hananel-Hazan commented on May 28, 2024

Some parameters like wmax, wmin and others needed to be tune by trial and error. About the sparse connection, currently PyTorch dont have full support for sparse matrices, therefore we cant use sparse connections in BindsNET. Hopefully the situation will improve in the future.

from bindsnet.

ZackWave avatar ZackWave commented on May 28, 2024

一些参数,如wmax,wmin和其他参数需要通过反复试验进行调整。关于稀疏连接,目前 PyTorch 没有完全支持稀疏矩阵,因此我们不能在 BindsNET 中使用稀疏连接。希望将来情况会有所改善。

How to implement STDP learning rule on inhibitory neurons.

from bindsnet.

Hananel-Hazan avatar Hananel-Hazan commented on May 28, 2024

The same as you implement the rule on excitation neurons just with negative weights

from bindsnet.

ZackWave avatar ZackWave commented on May 28, 2024

就像你只用负权重在激发神经元上实现规则一样

https://snntorch.readthedocs.io/en/latest/tutorials/tutorial_5.html

from bindsnet.

Hananel-Hazan avatar Hananel-Hazan commented on May 28, 2024

This is a nice paper but not biological realistic, since synapse polarity cant change in biology and BP can flip the sign. In BindsNET you can define the synapse in such a way that this event never happen. Please see the BindsNET documentation.

from bindsnet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.