def create_test_summaries(test_placeholders):
with tf.name_scope('test'):
accuracy_summary = tf.scalar_summary('accuracy', test_placeholders[0])
positive_recall_summary = tf.scalar_summary('recall/positive', test_placeholders[1])
negative_recall_summary = tf.scalar_summary('recall/negative', test_placeholders[2])
recall_summary = tf.scalar_summary('recall/global', test_placeholders[3])
positive_precision_summary = tf.scalar_summary('precision/positive', test_placeholders[4])
negative_precision_summary = tf.scalar_summary('precision/negative', test_placeholders[5])
precision_summary = tf.scalar_summary('precision/global', test_placeholders[6])
F_score_summary = tf.scalar_summary('F-score', test_placeholders[7])
return tf.merge_summary([accuracy_summary, positive_recall_summary, negative_recall_summary, recall_summary, positive_precision_summary, negative_precision_summary,precision_summary, F_score_summary])
region_proposal.py 文件源码
python
阅读 37
收藏 0
点赞 0
评论 0
评论列表
文章目录