Closed sieu-n closed 3 years ago
We discovered this issue because we found very different LPIPS scores on the ESRGAN. In our tests, the official ESRGAN model achieves an LPIPS score of ~0.9
The LPIPS doesn't require the two inputs to be explicit. Sorry for false claim
@andreas128 @hwong557 The LPIPS library is intended to be used in a different order as your implementation. I believe there is an error in your LPIPS implementation.
Instead of
You must use
According to an example snippet in test_network.py from the LPIPS Github repository,
ex_ref is the true image and ex_p0 and ex_p1 are the defective images. The ground truth image comes first before the defected image.
In your Test.py and Measure.py, the LPIPS score is implemented in the wrong order.
This can also pose serious impacts on the LPIPS score you reported in your paper.