Skip to content

Fix WeightDependentPostPre Post-synaptic update#534

Merged
Hananel-Hazan merged 2 commits intoBindsNET:masterfrom
ArefAz:patch-1
Jan 2, 2022
Merged

Fix WeightDependentPostPre Post-synaptic update#534
Hananel-Hazan merged 2 commits intoBindsNET:masterfrom
ArefAz:patch-1

Conversation

@ArefAz
Copy link
Copy Markdown
Contributor

@ArefAz ArefAz commented Jan 1, 2022

The difference of wmax and the actual weights had been mistakenly calculated as (self.wmax - self.connection.wmin), which was a fixed value.

ArefAz and others added 2 commits January 1, 2022 17:46
The difference of `wmax` and the actual weights had been mistakenly calculated as `(self.wmax - self.connection.wmin)`, which was a fixed value.
The same fix also needed for the conv3d_connection_update
@Hananel-Hazan
Copy link
Copy Markdown
Collaborator

Good catch! thank you for helping out!

@Hananel-Hazan Hananel-Hazan merged commit 1a9690d into BindsNET:master Jan 2, 2022
@ArefAz
Copy link
Copy Markdown
Contributor Author

ArefAz commented Jan 2, 2022

I just noticed the same error in the _conv1d_connection_update method, line 483.

Thank you!

Hananel-Hazan added a commit that referenced this pull request Jan 2, 2022
Continue Fix WeightDependentPostPre Post-synaptic update #534
@Hananel-Hazan
Copy link
Copy Markdown
Collaborator

Right! just pushed fix for that too.
Thanks again

@ArefAz ArefAz deleted the patch-1 branch January 2, 2022 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants