NeuralSolvers
NeuralSolvers copied to clipboard
Weighting is not set correctly
In the HPMLoss the weighting is not set correctly.
super(HPMLoss, self).__init__(dataset, None, name, norm='L2', weight=1.)
should be
super(HPMLoss, self).__init__(dataset, None, name, norm='L2', weight=weight)