Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Making the decay parameters(dv,du) learnable and separate du, dv for different layers? #303

Closed
naveedunjum opened this issue Apr 29, 2024 · 2 comments
Labels
0-needs-review 1-feature New feature or request

Comments

@naveedunjum
Copy link

Is there a way to make the decay parameters learnable? I want to train a network that can also adjust the decay parameters for the individual neurons.

Also is it possible to use different du, dv settings for different layers?

@naveedunjum naveedunjum added the 1-feature New feature or request label Apr 29, 2024
@bamsumit
Copy link
Contributor

@naveedunjum Yes and Yes.

  1. To make the decay parameters learnable, you can set requires_grad = True in the neuron parameter.
  2. You can use different neuron parameters for different layers and thus have different u_decay and v_decay.

@naveedunjum
Copy link
Author

naveedunjum commented May 15, 2024

@bamsumit That's great. I thought only the threshold was learnable. And how do I check the learned parameters? I tried the net.blocks[0].neuron.voltage_decay and net.blocks[0].neuron.threshold before and after training with requires_grad=True, don't see much difference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0-needs-review 1-feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants