Open Nikronic opened 5 years ago
Please see commit https://github.com/Nikronic/CoarseNet/commit/a1a5300e3eaa5ca037e1385256a91176cf730139. ref: https://discuss.pytorch.org/t/about-normalization-using-pre-trained-vgg16-networks/23560/9
Furthermore, for test purposes on out 9 image subset, here is the mean and std values:
mean= [0.3918, 0.3725, 0.3191]
std=[0.4881, 0.4835, 0.4661]
How to deal with halftone if our images are normalized???
We need to calculate
mean
andstd
of the whole dataset lazily (online) BEFORE applyinghalftone
.Actually, The output is something similar to ground truth and by the way we can see in the paper they have mentioned that ground truth is normalized
([-1, 1])
. And we cannot calculate mean and std of halftone because of random operations.