Replace deprecated tf.contrib.metrics.streaming_accuracy with tf.metrics.accuracy (#18154)
* Replace deprecated tf.contrib.metrics.streaming_accuracy with tf.metrics.accuracy As tf.contrib.metrics.streaming_accuracy (tf.contrib.metrics.streaming_mean_squared_error) has been deprecated and has been replaced with tf.metrics.accuracy, this fix replaces deprecated tf.contrib.metrics.streaming_accuracy with tf.metrics.accuracy in tensorflow/contrib/training/python/training/evaluation.py. Signed-off-by:Yong Tang <yong.tang.github@outlook.com> * Replace streaming_accuracy with tf.metrics.accuracy in tests Signed-off-by:
Yong Tang <yong.tang.github@outlook.com> * Fix additional WARNING in evaluation_test.py Signed-off-by:
Yong Tang <yong.tang.github@outlook.com> * Fix pylint issue Signed-off-by:
Yong Tang <yong.tang.github@outlook.com>
Loading
Please sign in to comment