taki0112 / Densenet-Tensorflow

Simple Tensorflow implementation of Densenet using Cifar10, MNIST
MIT License
506 stars 196 forks source link

how to standardize a single image in testing phase? #20

Open yuffon opened 5 years ago

yuffon commented 5 years ago

I find that in the training and testing phase, the dataset is standardized as a whole batch, including computing the mean and variance in a per channel style. However, when the model is deployed, the image is feed individually, how should we preprocess the image? What mean and variance should we use?