Matrix-Capsules-EM-Tensorflow
Matrix-Capsules-EM-Tensorflow copied to clipboard
the mean and std of smallNORB dataset
I want to realize the first normalization of smallNORB, but I could not get the value of mean and variance(std) in data/smallNORB.py
177 line: mean, variance = tf.nn.moments(image, [0, 1, 2])
I am sure both mean and variance is scalar.
is there some way to get the mean and variance(std) of smallNORB dataset?
Thanks so much if you could help me!
if I print(mean, variance), I could just get some attributes but not the value of mean and std