WARNING: Logging before flag parsing goes to stderr.
W0804 15:59:32.254890 14660 deprecation_wrapper.py:119] From c:\users\changer\tools\python36\lib\site-packages\keras\backend\tensorflow_backend.py:74: The name tf.get_default_graph is deprecated. Please use tf.compat.v1.get_default_graph instead.
W0804 15:59:32.268918 14660 deprecation_wrapper.py:119] From c:\users\changer\tools\python36\lib\site-packages\keras\backend\tensorflow_backend.py:517: The name tf.placeholder is deprecated. Please use tf.compat.v1.placeholder instead.
W0804 15:59:32.270891 14660 deprecation_wrapper.py:119] From c:\users\changer\tools\python36\lib\site-packages\keras\backend\tensorflow_backend.py:4138: The name tf.random_uniform is deprecated. Please use tf.random.uniform instead.
W0804 15:59:32.280911 14660 deprecation_wrapper.py:119] From c:\users\changer\tools\python36\lib\site-packages\keras\backend\tensorflow_backend.py:3976: The name tf.nn.max_pool is deprecated. Please use tf.nn.max_pool2d instead.
W0804 15:59:32.730477 14660 deprecation_wrapper.py:119] From c:\users\changer\tools\python36\lib\site-packages\keras\optimizers.py:790: The name tf.train.Optimizer is deprecated. Please use tf.compat.v1.train.Optimizer instead.
W0804 15:59:32.746480 14660 deprecation_wrapper.py:119] From c:\users\changer\tools\python36\lib\site-packages\keras\backend\tensorflow_backend.py:3295: The name tf.log is deprecated. Please use tf.math.log instead.
W0804 15:59:32.805478 14660 deprecation.py:323] From c:\users\changer\tools\python36\lib\site-packages\tensorflow\python\ops\math_grad.py:1250: 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
W0804 15:59:32.868476 14660 deprecation_wrapper.py:119] From c:\users\changer\tools\python36\lib\site-packages\keras\backend\tensorflow_backend.py:986: The name tf.assign_add is deprecated. Please use tf.compat.v1.assign_add instead.
Epoch 1/5
60000/60000 [==============================] - 7s 111us/step - loss: 0.1763 - acc: 0.9450 1s - loss:
Epoch 2/5
60000/60000 [==============================] - 5s 79us/step - loss: 0.0483 - acc: 0.9854: 0s - loss: 0.0488 - acc:
Epoch 3/5
60000/60000 [==============================] - 5s 78us/step - loss: 0.0324 - acc: 0.9902
Epoch 4/5
60000/60000 [==============================] - 5s 77us/step - loss: 0.0256 - acc: 0.9923: 1s - loss
Epoch 5/5
60000/60000 [==============================] - 5s 77us/step - loss: 0.0199 - acc: 0.9939: 1s
<keras.callbacks.History at 0x1de86781828>