Skip to content
Discussion options

You must be logged in to vote

self.bn = BatchNorm1d(channels[1]) this line in CGConvs init, gets executed even if batch_norm variable is false, but in forward sefl.bn gets applied only if self.batch_norm is true.
So the two parameters of size 55, are the two trainable parameters of batch norm, but these parameters don't get trained because they aren't used in the networks forward pass.
I'll create a PR to fix this in master in a while.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@errhernandez
Comment options

@wsad1
Comment options

@errhernandez
Comment options

Answer selected by errhernandez
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants