Subtract mean 2 times
Closed this issue · 1 comments
bobvo23 commented
The readme notes that we should subtract the mean after the Fourier conversion.
However, I notice that the mean of the images are subtracted in the dataset class, method get_item.
Line 58 in b9a0cdf
And during the train loop, the mean is subtracted again:
Line 81 in b9a0cdf
May anyone shed some lights for this approach? Thank you for your help in advance.
bobvo23 commented
I figured it out, the mean of the dataset class is set to zero.
IMG_MEAN = np.array((0.0, 0.0, 0.0)