WARNING::tensorflow:From
calling dropout (from tensorflow.python.ops.nn_ops) with keep_prob is deprecated and will be removed in a future version.
Instructions for updating:
Please use rate
instead of keep_prob
. Rate should be set to rate = 1 - keep_prob
.
tf.nn.dropout(conv1, keep_prob)
更改为
tf.nn.dropout(conv2, rate = 1-keep_prob)
https://blog.csdn.net/xuan9719/article/details/99643315
WARNING:tensorflow:From
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.