tensorflow-estimator

Tensorflow : logits and labels must have the same first dimension

Tensorflow : logits and labels must have the same first dimension Question: I am new in tensoflow and I want to adapt the MNIST tutorial https://www.tensorflow.org/tutorials/layers with my own data (images of 40×40). This is my model function : def cnn_model_fn(features, labels, mode): # Input Layer input_layer = tf.reshape(features, [-1, 40, 40, 1]) # Convolutional …

Total answers: 7