Closed EnricoTrizio closed 7 months ago
Fix bug of in_place dropout application that makes backprop fail and in batchnorm option, see #118 Also adds a backward call in test for nn.feedforward
Thank you! Could you also fix batchnorm?
Replacing self.in_features with (1,self.in_features) in https://github.com/luigibonati/mlcolvar/blob/main/mlcolvar/cvs/cv.py#L61 worked for me.
self.in_features
(1,self.in_features)
Merging #119 (5d0798e) into main (04596c2) will decrease coverage by 0.01%. The diff coverage is 100.00%.
0.01%
100.00%
Thank you!
Description
Fix bug of in_place dropout application that makes backprop fail and in batchnorm option, see #118 Also adds a backward call in test for nn.feedforward
Status