import os
from utils.loaders import load_mnist
from models.AE import Autoencoder
Using TensorFlow backend.
# 실행 매개변수
SECTION = 'vae'
RUN_ID = '0001'
DATA_NAME = 'digits'
RUN_FOLDER = 'run/{}/'.format(SECTION)
RUN_FOLDER += '_'.join([RUN_ID, DATA_NAME])
if not os.path.exists(RUN_FOLDER):
os.mkdir(RUN_FOLDER)
os.mkdir(os.path.join(RUN_FOLDER, 'viz'))
os.mkdir(os.path.join(RUN_FOLDER, 'images'))
os.mkdir(os.path.join(RUN_FOLDER, 'weights'))
MODE = 'build' #'load' #
(x_train, y_train), (x_test, y_test) = load_mnist()
Downloading data from https://s3.amazonaws.com/img-datasets/mnist.npz 11493376/11490434 [==============================] - 1s 0us/step
AE = Autoencoder(
input_dim = (28,28,1)
, encoder_conv_filters = [32,64,64, 64]
, encoder_conv_kernel_size = [3,3,3,3]
, encoder_conv_strides = [1,2,2,1]
, decoder_conv_t_filters = [64,64,32,1]
, decoder_conv_t_kernel_size = [3,3,3,3]
, decoder_conv_t_strides = [1,2,2,1]
, z_dim = 2
)
if MODE == 'build':
AE.save(RUN_FOLDER)
else:
AE.load_weights(os.path.join(RUN_FOLDER, 'weights/weights.h5'))
WARNING:tensorflow:From /home/jupyter/GDL_code/env/lib/python3.5/site-packages/tensorflow/python/framework/op_def_library.py:263: colocate_with (from tensorflow.python.framework.ops) is deprecated and will be removed in a future version. Instructions for updating: Colocations handled automatically by placer.
AE.encoder.summary()
_________________________________________________________________ Layer (type) Output Shape Param # ================================================================= encoder_input (InputLayer) (None, 28, 28, 1) 0 _________________________________________________________________ encoder_conv_0 (Conv2D) (None, 28, 28, 32) 320 _________________________________________________________________ leaky_re_lu_1 (LeakyReLU) (None, 28, 28, 32) 0 _________________________________________________________________ encoder_conv_1 (Conv2D) (None, 14, 14, 64) 18496 _________________________________________________________________ leaky_re_lu_2 (LeakyReLU) (None, 14, 14, 64) 0 _________________________________________________________________ encoder_conv_2 (Conv2D) (None, 7, 7, 64) 36928 _________________________________________________________________ leaky_re_lu_3 (LeakyReLU) (None, 7, 7, 64) 0 _________________________________________________________________ encoder_conv_3 (Conv2D) (None, 7, 7, 64) 36928 _________________________________________________________________ leaky_re_lu_4 (LeakyReLU) (None, 7, 7, 64) 0 _________________________________________________________________ flatten_1 (Flatten) (None, 3136) 0 _________________________________________________________________ encoder_output (Dense) (None, 2) 6274 ================================================================= Total params: 98,946 Trainable params: 98,946 Non-trainable params: 0 _________________________________________________________________
AE.decoder.summary()
_________________________________________________________________ Layer (type) Output Shape Param # ================================================================= decoder_input (InputLayer) (None, 2) 0 _________________________________________________________________ dense_1 (Dense) (None, 3136) 9408 _________________________________________________________________ reshape_1 (Reshape) (None, 7, 7, 64) 0 _________________________________________________________________ decoder_conv_t_0 (Conv2DTran (None, 7, 7, 64) 36928 _________________________________________________________________ leaky_re_lu_5 (LeakyReLU) (None, 7, 7, 64) 0 _________________________________________________________________ decoder_conv_t_1 (Conv2DTran (None, 14, 14, 64) 36928 _________________________________________________________________ leaky_re_lu_6 (LeakyReLU) (None, 14, 14, 64) 0 _________________________________________________________________ decoder_conv_t_2 (Conv2DTran (None, 28, 28, 32) 18464 _________________________________________________________________ leaky_re_lu_7 (LeakyReLU) (None, 28, 28, 32) 0 _________________________________________________________________ decoder_conv_t_3 (Conv2DTran (None, 28, 28, 1) 289 _________________________________________________________________ activation_1 (Activation) (None, 28, 28, 1) 0 ================================================================= Total params: 102,017 Trainable params: 102,017 Non-trainable params: 0 _________________________________________________________________
LEARNING_RATE = 0.0005
BATCH_SIZE = 32
INITIAL_EPOCH = 0
AE.compile(LEARNING_RATE)
AE.train(
x_train[:1000]
, batch_size = BATCH_SIZE
, epochs = 200
, run_folder = RUN_FOLDER
, initial_epoch = INITIAL_EPOCH
)
WARNING:tensorflow:From /home/jupyter/GDL_code/env/lib/python3.5/site-packages/tensorflow/python/ops/math_ops.py:3066: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use tf.cast instead. Epoch 1/200 832/1000 [=======================>......] - ETA: 4s - loss: 0.2010
/home/jupyter/GDL_code/env/lib/python3.5/site-packages/keras/callbacks.py:122: UserWarning: Method on_batch_end() is slow compared to the batch update (0.145966). Check your callbacks. % delta_t_median)
1000/1000 [==============================] - 24s 24ms/step - loss: 0.1859 Epoch 00001: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 2/200 1000/1000 [==============================] - 0s 261us/step - loss: 0.0854 Epoch 00002: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 3/200 1000/1000 [==============================] - 0s 262us/step - loss: 0.0676 Epoch 00003: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 4/200 1000/1000 [==============================] - 0s 267us/step - loss: 0.0638 Epoch 00004: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 5/200 1000/1000 [==============================] - 0s 256us/step - loss: 0.0602 Epoch 00005: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 6/200 1000/1000 [==============================] - 0s 249us/step - loss: 0.0581 Epoch 00006: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 7/200 1000/1000 [==============================] - 0s 247us/step - loss: 0.0566 Epoch 00007: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 8/200 1000/1000 [==============================] - 0s 252us/step - loss: 0.0555 Epoch 00008: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 9/200 1000/1000 [==============================] - 0s 238us/step - loss: 0.0549 Epoch 00009: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 10/200 1000/1000 [==============================] - 0s 240us/step - loss: 0.0539 Epoch 00010: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 11/200 1000/1000 [==============================] - 0s 244us/step - loss: 0.0533 Epoch 00011: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 12/200 1000/1000 [==============================] - 0s 236us/step - loss: 0.0529 Epoch 00012: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 13/200 1000/1000 [==============================] - 0s 239us/step - loss: 0.0521 Epoch 00013: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 14/200 1000/1000 [==============================] - 0s 238us/step - loss: 0.0517 Epoch 00014: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 15/200 1000/1000 [==============================] - 0s 238us/step - loss: 0.0512 Epoch 00015: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 16/200 1000/1000 [==============================] - 0s 236us/step - loss: 0.0510 Epoch 00016: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 17/200 1000/1000 [==============================] - 0s 239us/step - loss: 0.0508 Epoch 00017: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 18/200 1000/1000 [==============================] - 0s 233us/step - loss: 0.0502 Epoch 00018: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 19/200 1000/1000 [==============================] - 0s 243us/step - loss: 0.0499 Epoch 00019: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 20/200 1000/1000 [==============================] - 0s 235us/step - loss: 0.0497 Epoch 00020: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 21/200 1000/1000 [==============================] - 0s 245us/step - loss: 0.0495 Epoch 00021: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 22/200 1000/1000 [==============================] - 0s 239us/step - loss: 0.0492 Epoch 00022: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 23/200 1000/1000 [==============================] - 0s 239us/step - loss: 0.0488 Epoch 00023: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 24/200 1000/1000 [==============================] - 0s 237us/step - loss: 0.0487 Epoch 00024: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 25/200 1000/1000 [==============================] - 0s 234us/step - loss: 0.0483 Epoch 00025: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 26/200 1000/1000 [==============================] - 0s 237us/step - loss: 0.0480 Epoch 00026: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 27/200 1000/1000 [==============================] - 0s 242us/step - loss: 0.0477 Epoch 00027: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 28/200 1000/1000 [==============================] - 0s 239us/step - loss: 0.0475 Epoch 00028: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 29/200 1000/1000 [==============================] - 0s 236us/step - loss: 0.0474 Epoch 00029: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 30/200 1000/1000 [==============================] - 0s 239us/step - loss: 0.0470 Epoch 00030: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 31/200 1000/1000 [==============================] - 0s 243us/step - loss: 0.0469 Epoch 00031: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 32/200 1000/1000 [==============================] - 0s 254us/step - loss: 0.0468 Epoch 00032: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 33/200 1000/1000 [==============================] - 0s 241us/step - loss: 0.0464 Epoch 00033: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 34/200 1000/1000 [==============================] - 0s 241us/step - loss: 0.0464 Epoch 00034: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 35/200 1000/1000 [==============================] - 0s 239us/step - loss: 0.0462 Epoch 00035: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 36/200 1000/1000 [==============================] - 0s 239us/step - loss: 0.0460 Epoch 00036: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 37/200 1000/1000 [==============================] - 0s 239us/step - loss: 0.0457 Epoch 00037: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 38/200 1000/1000 [==============================] - 0s 238us/step - loss: 0.0457 Epoch 00038: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 39/200 1000/1000 [==============================] - 0s 233us/step - loss: 0.0452 Epoch 00039: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 40/200 1000/1000 [==============================] - 0s 229us/step - loss: 0.0451 Epoch 00040: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 41/200 1000/1000 [==============================] - 0s 234us/step - loss: 0.0451 Epoch 00041: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 42/200 1000/1000 [==============================] - 0s 240us/step - loss: 0.0449 Epoch 00042: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 43/200 1000/1000 [==============================] - 0s 242us/step - loss: 0.0449 Epoch 00043: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 44/200 1000/1000 [==============================] - 0s 234us/step - loss: 0.0444 Epoch 00044: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 45/200 1000/1000 [==============================] - 0s 242us/step - loss: 0.0442 Epoch 00045: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 46/200 1000/1000 [==============================] - 0s 243us/step - loss: 0.0438 Epoch 00046: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 47/200 1000/1000 [==============================] - 0s 242us/step - loss: 0.0440 Epoch 00047: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 48/200 1000/1000 [==============================] - 0s 247us/step - loss: 0.0435 Epoch 00048: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 49/200 1000/1000 [==============================] - 0s 244us/step - loss: 0.0437 Epoch 00049: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 50/200 1000/1000 [==============================] - 0s 248us/step - loss: 0.0434 Epoch 00050: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 51/200 1000/1000 [==============================] - 0s 246us/step - loss: 0.0435 Epoch 00051: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 52/200 1000/1000 [==============================] - 0s 241us/step - loss: 0.0430 Epoch 00052: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 53/200 1000/1000 [==============================] - 0s 245us/step - loss: 0.0429 Epoch 00053: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 54/200 1000/1000 [==============================] - 0s 240us/step - loss: 0.0427 Epoch 00054: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 55/200 1000/1000 [==============================] - 0s 227us/step - loss: 0.0427 Epoch 00055: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 56/200 1000/1000 [==============================] - 0s 236us/step - loss: 0.0427 Epoch 00056: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 57/200 1000/1000 [==============================] - 0s 230us/step - loss: 0.0425 Epoch 00057: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 58/200 1000/1000 [==============================] - 0s 233us/step - loss: 0.0422 Epoch 00058: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 59/200 1000/1000 [==============================] - 0s 228us/step - loss: 0.0423 Epoch 00059: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 60/200 1000/1000 [==============================] - 0s 232us/step - loss: 0.0418 Epoch 00060: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 61/200 1000/1000 [==============================] - 0s 237us/step - loss: 0.0417 Epoch 00061: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 62/200 1000/1000 [==============================] - 0s 239us/step - loss: 0.0417 Epoch 00062: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 63/200 1000/1000 [==============================] - 0s 245us/step - loss: 0.0416 Epoch 00063: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 64/200 1000/1000 [==============================] - 0s 251us/step - loss: 0.0411 Epoch 00064: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 65/200 1000/1000 [==============================] - 0s 246us/step - loss: 0.0413 Epoch 00065: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 66/200 1000/1000 [==============================] - 0s 246us/step - loss: 0.0413 Epoch 00066: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 67/200 1000/1000 [==============================] - 0s 245us/step - loss: 0.0413 Epoch 00067: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 68/200 1000/1000 [==============================] - 0s 245us/step - loss: 0.0413 Epoch 00068: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 69/200 1000/1000 [==============================] - 0s 247us/step - loss: 0.0410 Epoch 00069: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 70/200 1000/1000 [==============================] - 0s 246us/step - loss: 0.0408 Epoch 00070: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 71/200 1000/1000 [==============================] - 0s 247us/step - loss: 0.0407 Epoch 00071: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 72/200 1000/1000 [==============================] - 0s 252us/step - loss: 0.0408 Epoch 00072: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 73/200 1000/1000 [==============================] - 0s 242us/step - loss: 0.0405 Epoch 00073: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 74/200 1000/1000 [==============================] - 0s 240us/step - loss: 0.0404 Epoch 00074: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 75/200 1000/1000 [==============================] - 0s 240us/step - loss: 0.0403 Epoch 00075: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 76/200 1000/1000 [==============================] - 0s 237us/step - loss: 0.0399 Epoch 00076: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 77/200 1000/1000 [==============================] - 0s 235us/step - loss: 0.0398 Epoch 00077: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 78/200 1000/1000 [==============================] - 0s 245us/step - loss: 0.0398 Epoch 00078: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 79/200 1000/1000 [==============================] - 0s 243us/step - loss: 0.0399 Epoch 00079: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 80/200 1000/1000 [==============================] - 0s 241us/step - loss: 0.0399 Epoch 00080: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 81/200 1000/1000 [==============================] - 0s 240us/step - loss: 0.0399 Epoch 00081: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 82/200 1000/1000 [==============================] - 0s 246us/step - loss: 0.0395 Epoch 00082: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 83/200 1000/1000 [==============================] - 0s 240us/step - loss: 0.0395 Epoch 00083: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 84/200 1000/1000 [==============================] - 0s 242us/step - loss: 0.0395 Epoch 00084: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 85/200 1000/1000 [==============================] - 0s 243us/step - loss: 0.0397 Epoch 00085: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 86/200 1000/1000 [==============================] - 0s 253us/step - loss: 0.0397 Epoch 00086: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 87/200 1000/1000 [==============================] - 0s 249us/step - loss: 0.0394 Epoch 00087: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 88/200 1000/1000 [==============================] - 0s 246us/step - loss: 0.0390 Epoch 00088: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 89/200 1000/1000 [==============================] - 0s 247us/step - loss: 0.0388 Epoch 00089: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 90/200 1000/1000 [==============================] - 0s 240us/step - loss: 0.0390 Epoch 00090: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 91/200 1000/1000 [==============================] - 0s 237us/step - loss: 0.0390 Epoch 00091: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 92/200 1000/1000 [==============================] - 0s 237us/step - loss: 0.0390 Epoch 00092: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 93/200 1000/1000 [==============================] - 0s 241us/step - loss: 0.0398 Epoch 00093: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 94/200 1000/1000 [==============================] - 0s 239us/step - loss: 0.0393 Epoch 00094: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 95/200 1000/1000 [==============================] - 0s 236us/step - loss: 0.0385 Epoch 00095: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 96/200 1000/1000 [==============================] - 0s 238us/step - loss: 0.0383 Epoch 00096: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 97/200 1000/1000 [==============================] - 0s 241us/step - loss: 0.0384 Epoch 00097: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 98/200 1000/1000 [==============================] - 0s 238us/step - loss: 0.0385 Epoch 00098: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 99/200 1000/1000 [==============================] - 0s 238us/step - loss: 0.0382 Epoch 00099: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 100/200 1000/1000 [==============================] - 0s 244us/step - loss: 0.0380 Epoch 00100: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 101/200 1000/1000 [==============================] - 0s 244us/step - loss: 0.0383 Epoch 00101: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 102/200 1000/1000 [==============================] - 0s 241us/step - loss: 0.0382 Epoch 00102: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 103/200 1000/1000 [==============================] - 0s 239us/step - loss: 0.0379 Epoch 00103: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 104/200 1000/1000 [==============================] - 0s 239us/step - loss: 0.0381 Epoch 00104: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 105/200 1000/1000 [==============================] - 0s 250us/step - loss: 0.0380 Epoch 00105: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 106/200 1000/1000 [==============================] - 0s 251us/step - loss: 0.0376 Epoch 00106: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 107/200 1000/1000 [==============================] - 0s 254us/step - loss: 0.0377 Epoch 00107: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 108/200 1000/1000 [==============================] - 0s 248us/step - loss: 0.0382 Epoch 00108: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 109/200 1000/1000 [==============================] - 0s 253us/step - loss: 0.0383 Epoch 00109: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 110/200 1000/1000 [==============================] - 0s 251us/step - loss: 0.0383 Epoch 00110: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 111/200 1000/1000 [==============================] - 0s 251us/step - loss: 0.0380 Epoch 00111: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 112/200 1000/1000 [==============================] - 0s 249us/step - loss: 0.0380 Epoch 00112: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 113/200 1000/1000 [==============================] - 0s 249us/step - loss: 0.0379 Epoch 00113: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 114/200 1000/1000 [==============================] - 0s 249us/step - loss: 0.0376 Epoch 00114: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 115/200 1000/1000 [==============================] - 0s 240us/step - loss: 0.0372 Epoch 00115: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 116/200 1000/1000 [==============================] - 0s 235us/step - loss: 0.0373 Epoch 00116: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 117/200 1000/1000 [==============================] - 0s 240us/step - loss: 0.0370 Epoch 00117: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 118/200 1000/1000 [==============================] - 0s 237us/step - loss: 0.0372 Epoch 00118: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 119/200 1000/1000 [==============================] - 0s 236us/step - loss: 0.0375 Epoch 00119: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 120/200 1000/1000 [==============================] - 0s 250us/step - loss: 0.0372 Epoch 00120: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 121/200 1000/1000 [==============================] - 0s 248us/step - loss: 0.0373 Epoch 00121: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 122/200 1000/1000 [==============================] - 0s 245us/step - loss: 0.0371 Epoch 00122: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 123/200 1000/1000 [==============================] - 0s 243us/step - loss: 0.0371 Epoch 00123: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 124/200 1000/1000 [==============================] - 0s 235us/step - loss: 0.0373 Epoch 00124: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 125/200 1000/1000 [==============================] - 0s 238us/step - loss: 0.0373 Epoch 00125: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 126/200 1000/1000 [==============================] - 0s 237us/step - loss: 0.0376 Epoch 00126: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 127/200 1000/1000 [==============================] - 0s 236us/step - loss: 0.0372 Epoch 00127: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 128/200 1000/1000 [==============================] - 0s 238us/step - loss: 0.0369 Epoch 00128: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 129/200 1000/1000 [==============================] - 0s 239us/step - loss: 0.0367 Epoch 00129: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 130/200 1000/1000 [==============================] - 0s 239us/step - loss: 0.0369 Epoch 00130: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 131/200 1000/1000 [==============================] - 0s 236us/step - loss: 0.0367 Epoch 00131: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 132/200 1000/1000 [==============================] - 0s 238us/step - loss: 0.0368 Epoch 00132: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 133/200 1000/1000 [==============================] - 0s 237us/step - loss: 0.0368 Epoch 00133: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 134/200 1000/1000 [==============================] - 0s 236us/step - loss: 0.0366 Epoch 00134: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 135/200 1000/1000 [==============================] - 0s 238us/step - loss: 0.0367 Epoch 00135: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 136/200 1000/1000 [==============================] - 0s 234us/step - loss: 0.0363 Epoch 00136: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 137/200 1000/1000 [==============================] - 0s 233us/step - loss: 0.0366 Epoch 00137: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 138/200 1000/1000 [==============================] - 0s 238us/step - loss: 0.0363 Epoch 00138: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 139/200 1000/1000 [==============================] - 0s 237us/step - loss: 0.0361 Epoch 00139: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 140/200 1000/1000 [==============================] - 0s 234us/step - loss: 0.0362 Epoch 00140: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 141/200 1000/1000 [==============================] - 0s 237us/step - loss: 0.0359 Epoch 00141: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 142/200 1000/1000 [==============================] - 0s 237us/step - loss: 0.0366 Epoch 00142: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 143/200 1000/1000 [==============================] - 0s 236us/step - loss: 0.0364 Epoch 00143: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 144/200 1000/1000 [==============================] - 0s 236us/step - loss: 0.0368 Epoch 00144: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 145/200 1000/1000 [==============================] - 0s 238us/step - loss: 0.0368 Epoch 00145: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 146/200 1000/1000 [==============================] - 0s 235us/step - loss: 0.0364 Epoch 00146: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 147/200 1000/1000 [==============================] - 0s 236us/step - loss: 0.0360 Epoch 00147: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 148/200 1000/1000 [==============================] - 0s 235us/step - loss: 0.0363 Epoch 00148: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 149/200 1000/1000 [==============================] - 0s 235us/step - loss: 0.0362 Epoch 00149: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 150/200 1000/1000 [==============================] - 0s 239us/step - loss: 0.0360 Epoch 00150: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 151/200 1000/1000 [==============================] - 0s 236us/step - loss: 0.0367 Epoch 00151: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 152/200 1000/1000 [==============================] - 0s 234us/step - loss: 0.0359 Epoch 00152: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 153/200 1000/1000 [==============================] - 0s 238us/step - loss: 0.0359 Epoch 00153: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 154/200 1000/1000 [==============================] - 0s 235us/step - loss: 0.0359 Epoch 00154: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 155/200 1000/1000 [==============================] - 0s 235us/step - loss: 0.0357 Epoch 00155: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 156/200 1000/1000 [==============================] - 0s 232us/step - loss: 0.0361 Epoch 00156: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 157/200 1000/1000 [==============================] - 0s 239us/step - loss: 0.0358 Epoch 00157: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 158/200 1000/1000 [==============================] - 0s 239us/step - loss: 0.0362 Epoch 00158: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 159/200 1000/1000 [==============================] - 0s 231us/step - loss: 0.0362 Epoch 00159: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 160/200 1000/1000 [==============================] - 0s 237us/step - loss: 0.0357 Epoch 00160: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 161/200 1000/1000 [==============================] - 0s 239us/step - loss: 0.0360 Epoch 00161: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 162/200 1000/1000 [==============================] - 0s 235us/step - loss: 0.0362 Epoch 00162: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 163/200 1000/1000 [==============================] - 0s 239us/step - loss: 0.0357 Epoch 00163: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 164/200 1000/1000 [==============================] - 0s 241us/step - loss: 0.0355 Epoch 00164: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 165/200 1000/1000 [==============================] - 0s 243us/step - loss: 0.0353 Epoch 00165: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 166/200 1000/1000 [==============================] - 0s 241us/step - loss: 0.0353 Epoch 00166: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 167/200 1000/1000 [==============================] - 0s 238us/step - loss: 0.0352 Epoch 00167: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 168/200 1000/1000 [==============================] - 0s 234us/step - loss: 0.0355 Epoch 00168: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 169/200 1000/1000 [==============================] - 0s 236us/step - loss: 0.0355 Epoch 00169: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 170/200 1000/1000 [==============================] - 0s 235us/step - loss: 0.0355 Epoch 00170: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 171/200 1000/1000 [==============================] - 0s 231us/step - loss: 0.0355 Epoch 00171: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 172/200 1000/1000 [==============================] - 0s 241us/step - loss: 0.0353 Epoch 00172: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 173/200 1000/1000 [==============================] - 0s 241us/step - loss: 0.0353 Epoch 00173: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 174/200 1000/1000 [==============================] - 0s 248us/step - loss: 0.0353 Epoch 00174: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 175/200 1000/1000 [==============================] - 0s 244us/step - loss: 0.0350 Epoch 00175: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 176/200 1000/1000 [==============================] - 0s 249us/step - loss: 0.0350 Epoch 00176: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 177/200 1000/1000 [==============================] - 0s 252us/step - loss: 0.0355 Epoch 00177: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 178/200 1000/1000 [==============================] - 0s 248us/step - loss: 0.0350 Epoch 00178: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 179/200 1000/1000 [==============================] - 0s 259us/step - loss: 0.0351 Epoch 00179: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 180/200 1000/1000 [==============================] - 0s 258us/step - loss: 0.0350 Epoch 00180: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 181/200 1000/1000 [==============================] - 0s 241us/step - loss: 0.0353 Epoch 00181: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 182/200 1000/1000 [==============================] - 0s 241us/step - loss: 0.0352 Epoch 00182: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 183/200 1000/1000 [==============================] - 0s 241us/step - loss: 0.0353 Epoch 00183: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 184/200 1000/1000 [==============================] - 0s 238us/step - loss: 0.0352 Epoch 00184: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 185/200 1000/1000 [==============================] - 0s 252us/step - loss: 0.0350 Epoch 00185: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 186/200 1000/1000 [==============================] - 0s 270us/step - loss: 0.0351 Epoch 00186: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 187/200 1000/1000 [==============================] - 0s 247us/step - loss: 0.0351 Epoch 00187: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 188/200 1000/1000 [==============================] - 0s 241us/step - loss: 0.0352 Epoch 00188: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 189/200 1000/1000 [==============================] - 0s 257us/step - loss: 0.0352 Epoch 00189: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 190/200 1000/1000 [==============================] - 0s 257us/step - loss: 0.0349 Epoch 00190: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 191/200 1000/1000 [==============================] - 0s 246us/step - loss: 0.0348 Epoch 00191: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 192/200 1000/1000 [==============================] - 0s 248us/step - loss: 0.0350 Epoch 00192: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 193/200 1000/1000 [==============================] - 0s 248us/step - loss: 0.0352 Epoch 00193: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 194/200 1000/1000 [==============================] - 0s 241us/step - loss: 0.0350 Epoch 00194: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 195/200 1000/1000 [==============================] - 0s 243us/step - loss: 0.0350 Epoch 00195: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 196/200 1000/1000 [==============================] - 0s 242us/step - loss: 0.0347 Epoch 00196: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 197/200 1000/1000 [==============================] - 0s 236us/step - loss: 0.0347 Epoch 00197: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 198/200 1000/1000 [==============================] - 0s 242us/step - loss: 0.0354 Epoch 00198: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 199/200 1000/1000 [==============================] - 0s 234us/step - loss: 0.0353 Epoch 00199: saving model to run/vae/0001_digits/weights/weights.h5 Epoch 200/200 1000/1000 [==============================] - 0s 235us/step - loss: 0.0345 Epoch 00200: saving model to run/vae/0001_digits/weights/weights.h5