def __call__(self, pred, true):
    true_grad = self.gauss_gradient(true)
    pred_grad = self.gauss_gradient(pred)
    return (((true_grad - pred_grad) ** 2).sum() / 1000)
def __call__(self, pred, true):
    true_grad = self.gauss_gradient(true)
    pred_grad = self.gauss_gradient(pred)
    return (((true_grad - pred_grad) ** 2).sum() / 1000)