Skip to content

Commit e8b9545

Browse files
committed
fashion mnist
1 parent 1eed8fd commit e8b9545

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

keras-autoencoder/variational_autoencoder.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from keras.layers import Lambda, Input, Dense
22
from keras.models import Model
3-
from keras.datasets import mnist
3+
from keras.datasets import fashion_mnist
44
from keras.losses import mse, binary_crossentropy
55
from keras.utils import plot_model
66
from keras import backend as K
@@ -33,7 +33,7 @@ def sampling(args):
3333
return z_mean + K.exp(0.5 * z_log_var) * epsilon
3434

3535
# MNIST dataset
36-
(x_train, y_train), (x_test, y_test) = mnist.load_data()
36+
(x_train, y_train), (x_test, y_test) = fashion_mnist.load_data()
3737

3838
image_size = x_train.shape[1]
3939
original_dim = image_size * image_size

0 commit comments

Comments
 (0)