Supervised STDP not updating synaptic weights #464
-
Hello, However, the synaptic weights are unfortunately not updating over the training epochs, and the SNN is predicting the same class all the time. The data is quite imbalanced as well, but I have already used stratified sampling in the train test split. Below is my code, perhaps someone could help me see what is wrong with the training setup. First, the setup of the network and monitoring variables:
Training
Thank you very much for your help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
inputs = {'Inputs': x} I believe the layer is just misspelled here, I think it should be |
Beta Was this translation helpful? Give feedback.
I believe the layer is just misspelled here, I think it should be
'Input'
.