print(np.mean(ssim_noise))
print(np.mean(ssim_prev))

#### the following is grammatically correct, but for this dataset may be out of memory
# ssim_noise = ssim(X_test[:, 1:] , X_hat[:, 1:],
#                   data_range=X_hat[:, 1:].max() - X_hat[:, 1:].min(),multichannel=True)