我刚刚开始使用ML和Tensorflow。 (我想)在我的Ubuntu系统上成功安装tensorflow之后。我想用tensorflow实现一个用于手写didgits的CNN。如果已经通过stackoverflow中的几个问题进行了解读,并在大约2天内没有任何解决方案就被愚弄了。 import tensorflow as tf
import matplotlib.pyplot as pl
在我看来,图像标准化是使每个像素都被标准化为一个介于0和1之间的值,对吗? 但下面的代码是什么意思? image_size = 28 # Pixel width and height.
pixel_depth = 255.0 # Number of levels per pixel.
for image in image_files:
image_file = os.path.j