ValueError: Tried to convert 'filter' to a tensor and failed. Error: None values not supported.
同样的问题 已经解决!感谢
解决了 老师定义的时候少了两个定义:
def conv2d (x, W): return tf.nn.conv2d(x, W, strides=[1, 1, 1, 1], padding='SAME')
def max_pool_2x2 (x): return tf.nn.max_pool(x,ksize=[1, 2, 2, 1], strides=[1, 2, 2, 1], padding='SAME')