Path: blob/master/Autoencoder-in-TensorFlow/Autoencoder_FashionMnist_TensorFlow.ipynb
3119 views
Kernel: ae_tf
In [1]:
Out[1]:
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-1-474c5e12d89b> in <module>
----> 1 import imageio
2 import glob
3 import os
4 import time
5 import cv2
ModuleNotFoundError: No module named 'imageio'
In [3]:
In [4]:
In [5]:
In [4]:
Out[4]:
In [6]:
In [7]:
In [7]:
Out[7]:
0.0 1.0
In [8]:
In [9]:
In [10]:
In [11]:
In [12]:
In [13]:
In [24]:
Out[24]:
Model: "Decoder"
_________________________________________________________________
Layer (type) Output Shape Param #
=================================================================
input_layer (InputLayer) [(None, 2)] 0
_________________________________________________________________
dense_1 (Dense) (None, 3136) 9408
_________________________________________________________________
Reshape_Layer (Reshape) (None, 7, 7, 64) 0
_________________________________________________________________
conv_transpose_1 (Conv2DTran (None, 7, 7, 64) 36928
_________________________________________________________________
bn_1 (BatchNormalization) (None, 7, 7, 64) 256
_________________________________________________________________
lrelu_1 (LeakyReLU) (None, 7, 7, 64) 0
_________________________________________________________________
conv_transpose_2 (Conv2DTran (None, 14, 14, 64) 36928
_________________________________________________________________
bn_2 (BatchNormalization) (None, 14, 14, 64) 256
_________________________________________________________________
lrelu_2 (LeakyReLU) (None, 14, 14, 64) 0
_________________________________________________________________
conv_transpose_3 (Conv2DTran (None, 28, 28, 32) 18464
_________________________________________________________________
bn_3 (BatchNormalization) (None, 28, 28, 32) 128
_________________________________________________________________
lrelu_3 (LeakyReLU) (None, 28, 28, 32) 0
_________________________________________________________________
conv_transpose_4 (Conv2DTran (None, 28, 28, 1) 289
=================================================================
Total params: 102,657
Trainable params: 102,337
Non-trainable params: 320
_________________________________________________________________
In [25]:
In [13]:
In [19]:
In [20]:
In [21]:
In [22]:
In [23]:
In [24]:
In [25]:
In [26]:
In [27]:
Out[27]:
(25, 28, 28, 1)
In [14]:
In [15]:
In [24]:
In [16]:
Out[16]:
In [17]:
In [24]:
In [25]:
Out[25]:
Reconstructing Fashion Images with Latent-Vector Sampled Uniformly
In [34]:
Out[34]: