3 ms·
Do you have any links to some examples or help on how to do this exactly? Reason being that in our group we have a ton of normalization code that looks exactly
by markus92 7y ago
Do you have any links to some examples or help on how to do this exactly?
Reason being that in our group we have a ton of normalization code that looks exactly like the 'bad' example from this post. As we use relatively large datasets (4D MRI images), memory is a bit scarce...
- naveen99 7y agoPytorch has a built in normalize function: https://pytorch.org/docs/master/_modules/torchvision/transforms/functional.html#normalize https://pytorch.org/docs/master/_modules/torchvision/transfo... It just subtracts the mean and divides by standard deviation, both in place.