Using TensorFlow backend.
WARNING: Logging before flag parsing goes to stderr.
W0830 14:56:09.692447 139830378010496 deprecation_wrapper.py:119] From /usr/local/lib/python3.6/dist-packages/keras/backend/tensorflow_backend.py:541: The name tf.placeholder is deprecated. Please use tf.compat.v1.placeholder instead.
W0830 14:56:09.695646 139830378010496 deprecation_wrapper.py:119] From /usr/local/lib/python3.6/dist-packages/keras/backend/tensorflow_backend.py:66: The name tf.get_default_graph is deprecated. Please use tf.compat.v1.get_default_graph instead.
W0830 14:56:09.696222 139830378010496 deprecation_wrapper.py:119] From /usr/local/lib/python3.6/dist-packages/keras/backend/tensorflow_backend.py:4432: The name tf.random_uniform is deprecated. Please use tf.random.uniform instead.
W0830 14:56:09.726229 139830378010496 deprecation_wrapper.py:119] From /usr/local/lib/python3.6/dist-packages/keras/backend/tensorflow_backend.py:4267: The name tf.nn.max_pool is deprecated. Please use tf.nn.max_pool2d instead.
Downloading data from https://github.com/fchollet/deep-learning-models/releases/download/v0.1/vgg16_weights_tf_dim_ordering_tf_kernels_notop.h5
58892288/58889256 [==============================] - 4s 0us/step
W0830 14:56:14.546358 139830378010496 deprecation_wrapper.py:119] From /usr/local/lib/python3.6/dist-packages/keras/backend/tensorflow_backend.py:190: The name tf.get_default_session is deprecated. Please use tf.compat.v1.get_default_session instead.
W0830 14:56:14.546627 139830378010496 deprecation_wrapper.py:119] From /usr/local/lib/python3.6/dist-packages/keras/backend/tensorflow_backend.py:197: The name tf.ConfigProto is deprecated. Please use tf.compat.v1.ConfigProto instead.
2019-08-30 14:56:14.560438: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency: 2200000000 Hz
2019-08-30 14:56:14.562595: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x3b1f9c0 executing computations on platform Host. Devices:
2019-08-30 14:56:14.562640: I tensorflow/compiler/xla/service/service.cc:175] StreamExecutor device (0): <undefined>, <undefined>
2019-08-30 14:56:14.568036: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcuda.so.1
2019-08-30 14:56:14.804362: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1005] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2019-08-30 14:56:14.805016: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x3b1fb80 executing computations on platform CUDA. Devices:
2019-08-30 14:56:14.805044: I tensorflow/compiler/xla/service/service.cc:175] StreamExecutor device (0): Tesla T4, Compute Capability 7.5
2019-08-30 14:56:14.806058: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1005] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2019-08-30 14:56:14.806601: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1640] Found device 0 with properties:
name: Tesla T4 major: 7 minor: 5 memoryClockRate(GHz): 1.59
pciBusID: 0000:00:04.0
2019-08-30 14:56:14.816607: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcudart.so.10.0
2019-08-30 14:56:14.978973: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcublas.so.10.0
2019-08-30 14:56:15.053685: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcufft.so.10.0
2019-08-30 14:56:15.073156: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcurand.so.10.0
2019-08-30 14:56:15.255818: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcusolver.so.10.0
2019-08-30 14:56:15.359190: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcusparse.so.10.0
2019-08-30 14:56:15.697668: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcudnn.so.7
2019-08-30 14:56:15.697901: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1005] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2019-08-30 14:56:15.698617: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1005] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2019-08-30 14:56:15.699143: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1763] Adding visible gpu devices: 0
2019-08-30 14:56:15.701656: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcudart.so.10.0
2019-08-30 14:56:15.702890: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1181] Device interconnect StreamExecutor with strength 1 edge matrix:
2019-08-30 14:56:15.702924: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1187] 0
2019-08-30 14:56:15.702934: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1200] 0: N
2019-08-30 14:56:15.707031: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1005] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2019-08-30 14:56:15.707681: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1005] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2019-08-30 14:56:15.708168: W tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:40] Overriding allow_growth setting because the TF_FORCE_GPU_ALLOW_GROWTH environment variable is set. Original config value was 0.
2019-08-30 14:56:15.708212: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1326] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 14221 MB memory) -> physical GPU (device: 0, name: Tesla T4, pci bus id: 0000:00:04.0, compute capability: 7.5)
Model loaded.
W0830 14:56:18.816777 139830378010496 deprecation.py:323] From /usr/local/lib/python3.6/dist-packages/tensorflow/python/ops/math_grad.py:1205: add_dispatch_support.<locals>.wrapper (from tensorflow.python.ops.array_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.where in 2.0, which has the same broadcast rule as np.where
Starting iteration 1 of 10
2019-08-30 14:56:21.457851: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcublas.so.10.0
2019-08-30 14:56:22.115485: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcudnn.so.7
Current loss value: 117689330.0 Improvement : 0.000 %
Rescaling Image to (400, 400)
Image saved as generated/gen_at_iteration_1.png
Iteration 1 completed in 13s
Starting iteration 2 of 10
Current loss value: 35782400.0 Improvement : 69.596 %
Rescaling Image to (400, 400)
Image saved as generated/gen_at_iteration_2.png
Iteration 2 completed in 6s
Starting iteration 3 of 10
Current loss value: 20027554.0 Improvement : 44.030 %
Rescaling Image to (400, 400)
Image saved as generated/gen_at_iteration_3.png
Iteration 3 completed in 6s
Starting iteration 4 of 10
Current loss value: 14474294.0 Improvement : 27.728 %
Rescaling Image to (400, 400)
Image saved as generated/gen_at_iteration_4.png
Iteration 4 completed in 6s
Starting iteration 5 of 10
Current loss value: 11715739.0 Improvement : 19.058 %
Rescaling Image to (400, 400)
Image saved as generated/gen_at_iteration_5.png
Iteration 5 completed in 6s
Starting iteration 6 of 10
Current loss value: 10015922.0 Improvement : 14.509 %
Rescaling Image to (400, 400)
Image saved as generated/gen_at_iteration_6.png
Iteration 6 completed in 6s
Starting iteration 7 of 10
Current loss value: 8887704.0 Improvement : 11.264 %
Rescaling Image to (400, 400)
Image saved as generated/gen_at_iteration_7.png
Iteration 7 completed in 6s
Starting iteration 8 of 10
Current loss value: 8032433.5 Improvement : 9.623 %
Rescaling Image to (400, 400)
Image saved as generated/gen_at_iteration_8.png
Iteration 8 completed in 6s
Starting iteration 9 of 10
Current loss value: 7311348.0 Improvement : 8.977 %
Rescaling Image to (400, 400)
Image saved as generated/gen_at_iteration_9.png
Iteration 9 completed in 6s
Starting iteration 10 of 10
Current loss value: 6799690.0 Improvement : 6.998 %
Rescaling Image to (400, 400)
Image saved as generated/gen_at_iteration_10.png
Iteration 10 completed in 6s