From 1370510b328be97a2d3d34d98509e4fedac10239 Mon Sep 17 00:00:00 2001 From: guangtao Date: Sat, 21 Nov 2020 22:51:06 +0800 Subject: [PATCH] update ux5_tensorflow.py. --- ux5_tensorflow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ux5_tensorflow.py b/ux5_tensorflow.py index fea81e2..fee132a 100644 --- a/ux5_tensorflow.py +++ b/ux5_tensorflow.py @@ -64,7 +64,7 @@ if show_multiple_images: plt.yticks([]) plt.grid(False) plt.imshow(train_images[i]) - plt.xlabel(str(train_labels[train_labels[i]])) + plt.xlabel(str(train_labels[i])) plt.show() # 修改图片数据用于机器学习。图片颜色值是0到255之间, -- Gitee