Matrix-Capsules-EM-Tensorflow icon indicating copy to clipboard operation
Matrix-Capsules-EM-Tensorflow copied to clipboard

the mean and std of smallNORB dataset

Open HJLYU0519 opened this issue 6 years ago • 1 comments

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!

HJLYU0519 avatar Jan 22 '19 18:01 HJLYU0519

if I print(mean, variance), I could just get some attributes but not the value of mean and std

HJLYU0519 avatar Jan 22 '19 18:01 HJLYU0519