Open JuZiSYJ opened 4 years ago
The formula in the paper is
LEn(x) = LEn−1(x) + αnLEn−1(x)(1 − LEn−1(x))
However, the formula in the code is
x = x + r1*(torch.pow(x,2)-x)
it seems like
LEn(x) = LEn−1(x) + αnLEn−1(x)( LEn−1(x) - 1)
https://github.com/bsun0802/Zero-DCE/blob/master/code/model.py line 46: "sign doesn't really matter because of symmetry."
The formula in the paper is
However, the formula in the code is
it seems like