train vqvae with test_mean, test_std